Tuesday, January 18, 2011

Convert string to array list or convert string array to array list

Convert string to array list

Convert string array to array list


To convert string to array list :

  ArrayList mylist= new ArrayList( mystring.Split(','));


To convert string array to array list :

  ArrayList mylist= new ArrayList(mystringarray);

Share This!


No comments:

Powered By Blogger · Designed By Seo Blogger Templates