simple name input
Posted: Thu Jul 26, 2018 10:14 am
I wanted to start on a text adventure game so I thought I would start with something very simple like name input.
The string you input gets split into two and each word is then trimmed down to remove white space and the first letter is capitalized so for example 'hello world' will become 'Hello' and 'World'.
Enter in both of your names, first name and last name to test it out.
The string you input gets split into two and each word is then trimmed down to remove white space and the first letter is capitalized so for example 'hello world' will become 'Hello' and 'World'.
Enter in both of your names, first name and last name to test it out.