cowbellemoo
0
Q:

convert comma separated string to array c#

IList<string> strings = new List<string>{"1","2","testing"};
string joined = string.Join(",", strings);
5
var result = string.Join(",", arr);
1
input.split(/[ ,]+/); //splits string using RegEx on a space OR a comma
1
string fruit = "Apple,Banana,Orange,Strawberry";
string[] split = fruit.Split(',');
-1

New to Communities?

Join the community