If what you want to do is create an array from a string like this:
Code:
string arrayValues = "value1, value2, value3, value4";
all you would need to do is:

Code:
string arrayValues = "value1, value2, value3, value4";
string[] newArray = arrayValues.Split(new char[]{','});
You can provide any character(s) as delimiter in this part of the code:
Code:
new char[]{',
...