string a="13,14,18,/22,23,28,"; string[] result = a.Split('/');//Now this array will contain two strings "13,14,18," and "22,23,28,". You can loop through the array and use the values.
string C = result[0]; string D = result[1];
string a="13,14,18,/22,23,28," string C = a.Split('/')[0]; string d = a.Split('/')[1];
string a = "13,14,18,/22,23,28,"; string[] temp=a.Split('/'); string C = temp[0]; string d = temp[1];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)