Replace spaces in a string with symbol
Prints the type of entered character