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 PostUse the Split method (member of String) to split the string on commas. The Split method will return an array of Strings.
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.