split string by comma es6 code example
Example: convert comma separated string to array c#
string fruit = "Apple,Banana,Orange,Strawberry";
string[] split = fruit.Split(',');
string fruit = "Apple,Banana,Orange,Strawberry";
string[] split = fruit.Split(',');