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 ( ) ;

Suthish NairRank #92 · 22.8K reputationPosted Oct 26, 2010, 10:37 AM EDT
JureRank #2,128 · 670 reputationPosted Oct 26, 2010, 10:52 AM EDT
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
vishnu krishnan103 reputationPosted Oct 27, 2010, 7:07 AM EDT
vishnu krishnan103 reputationPosted Oct 27, 2010, 7:18 AM EDT
Mahesh ChandRank #1 · 393.3K reputationPosted Oct 27, 2010, 7:36 AM EDT
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 krishnan103 reputationPosted Oct 27, 2010, 7:55 AM EDT