convert string to array
-
Any idea how can I convert a string to array for the below example: string name = "John,Calvin,Steve"; convert to string [] arr = new string[] {"John","Calvin","Steve"};
-
Any idea how can I convert a string to array for the below example: string name = "John,Calvin,Steve"; convert to string [] arr = new string[] {"John","Calvin","Steve"};
Start here
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
-
Any idea how can I convert a string to array for the below example: string name = "John,Calvin,Steve"; convert to string [] arr = new string[] {"John","Calvin","Steve"};
-
Any idea how can I convert a string to array for the below example: string name = "John,Calvin,Steve"; convert to string [] arr = new string[] {"John","Calvin","Steve"};
Just be careful with Split because it will split on delimiters within quotes -- which is not usually desired.
-
Any idea how can I convert a string to array for the below example: string name = "John,Calvin,Steve"; convert to string [] arr = new string[] {"John","Calvin","Steve"};
string name = "John,Calvin,Steve";
string [] arr = name.Split(new char[]{','});