G
Guest
Hi All,
I have textbox and i have to count new line symbol (char 13). But when i tried to do this
int neco = textBox.Text.IndexOf((char)13, 0,textBox5.SelectionStart);
I received error, only if the symbol (char 13) is in the string. Else everything is ok. I don't know why..........
I have textbox and i have to count new line symbol (char 13). But when i tried to do this
int neco = textBox.Text.IndexOf((char)13, 0,textBox5.SelectionStart);
I received error, only if the symbol (char 13) is in the string. Else everything is ok. I don't know why..........