TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Haraakesh Kumar
NA
2
8.3k
Convert string to X-dimensional array
Nov 30 2012 1:57 AM
Hello!
How do I convert a string, formatted as following:
string str="1 2 3 4;5 6 7 8;9 10 11 12;13 14 15 16"
to a multidimensional array, so that:
arr[0,0]=1
arr[0,1]=2
arr[0,2]=3
arr[0,3]=4
arr[1,0]=5
and so on.
The string can have different sizes.
Thanks!
Reply
Answers (
2
)
Issue with Calling a Child Inside MDIParent.
Read and transform multiple XML files with XSLT