I'm sure this is simple and obvious but I've been through books and Googled and found nothing.
All I want to do is accept [SPACE] as input for a variable. At present I'm doing an exercise on switches which requires that input characters be translated, so for example uppercase chars become lowercase and [SPACE] becomes _ (underscore).
So what do I need to do so that when the user inputs [SPACE] [RETURN], the program accepts that as something I can work with?