Autospace problem in Richtextbox
I am writing anything in the richtextbox, after compile ,that will have space between each word and each symbol.
ie seperate each word and each symbol.
example.....
input: void sum();
i have to get the output like
output: void sum ( ) ;
vishnu krishnanPosted Oct 27, 2010, 11:55 AM
Mahesh ChandPosted Oct 27, 2010, 11:36 AM
One of the rules on the forums is to write proper title and English so it is easy to ready. Do not use zibrish characters like "plz chk this....". Also no more dot dots in the title.
Your title should be "How to separate words and each symbol".
vishnu krishnanPosted Oct 27, 2010, 11:18 AM
vishnu krishnanPosted Oct 27, 2010, 11:07 AM
JurePosted Oct 26, 2010, 2:52 PM
string.IndexOfAny(int start) to get the index,
string = string.Insert(index, " ") to insert space
if (string[index] != ' ') to check if there's already space or not
Suthish NairPosted Oct 26, 2010, 2:37 PM