Tokenizing a String in unix

Hi All,

I have String i want to tokenize based on one delimiter.

Original String is -pComments.properties,-iPELF4

i want to tokenize the original string based on ',' (comma) as delimiter and collect them individually like

string1=-pComments.properties
string2=-iPELF4

Please advice or send some sample code.

Thanks-
Raj

cut ?

string1=$(echo $OriginalString | cut -d',' -f1)
string2=$(echo $OriginalString | cut -d',' -f2)