how to replace a period ( dot ' . ' ) with a space character
Oct 21, 2011 at 11:43pm
Hi everyone,
I have a string that has a period at the end and i want to replace that period with a space.
How do you do that?
Thanks in advance
Oct 22, 2011 at 4:28am
You iterate through the string and inside the for loop have if (str[i]=='.') str[i]=' ';
Topic archived. No new replies allowed.