hi,
i want to convert string into arraylist...............
i have a string .......string vaue is str= "12,13,14,15";
now i want convert this string into arraylist..........
like arr={12,13,14,15};
(using c#)
gurusamy 0 Newbie Poster
Recommended Answers
Jump to Postfastest method
string splitme = "foo,bar,feet,meet,meat,skeet"; ArrayList gatherSplit = new ArrayList(splitme.Split(new char[] { ',' }));
All 3 Replies
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster
Killer_Typo 82 Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.