how to replace a period ( dot ' . ' ) with a space character
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
You iterate through the string and inside the for loop have if (str[i]=='.') str[i]=' ';
Topic archived. No new replies allowed.