0
back from retirement's Avatar, Join Date: Nov 2008
Contributor
But Shabbir....not only double spaces....there are triple or more as well....should I have to carry on looping???? It seems a bit difficult....but I will try then....
Actually, I am just a beginner...
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Looping would remove all the spaces. By looping I meant double loops which converts each double space into single one.

Here is the test run

Code:
Do   you   know why   History repeats itself ???

Do  you  know why  History repeats itself ???

Do you know why History repeats itself ???
0
back from retirement's Avatar, Join Date: Nov 2008
Contributor
I guess....problem fully solved....thanks immensely....
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by back from retirement View Post
I guess....problem fully solved....thanks immensely....
Add to the reputation of users whom you think helped you in solving it.