First of all, you cannot parse string.
And second of all, your problem is regarding splitting the string.
See the MSDN
documenatation[
^].
Some of examples are given over
here[
^].
And solution towards your problem is,
string str = "d,j,k,l,k,";
string newStr = str.Split(',')[0].ToString();
-KR