So, If I have a string like
"hello what is my name"
How can I take all of the spaces and replace each with only one space?
So, If I have a string like
"hello what is my name"
How can I take all of the spaces and replace each with only one space?
Found the solution:
This should do it:
Output: