Hi
i have a text box and i have some numbers in my text box like this
4*4*4*4*4*4*4*4*4*7*4*4*4*7*4*4*4*4*7*4*10*4*4*4*7*4*10*13*0,0,4,0,4,3,0,4,3,0,0,4,3,0,4,0,4,3,0,4,0,0,4,3,0,4,0,4,0,4,3,0,4,0,4,4,0,4,3,0,4,0,4,4,-1,
now i want to split them like this
number which has "*", i want to calculate one by one of those number + 5 and "," one by one +2 and write them in another textbox
and this is my code
foreach (var c in richTextBox6.Text)
{
string a = c.ToString();
string[] b = a.Split('*');
richTextBox7.Text += b[a.Length - 1];
}
but it just spli "*" and ","
how calculate those numbers one by one?
With Respect