I have been searching everywhere for an answer to this but I can only find the replace() function. That is great but I need to replace all the characters in the string with under scores except for spaces, not just one specific character.
This is for a hangman assignment.
Also I didn't provide any code because I don't need anything changed. I just need the syntax and logic help.