I want people to enter in a word, and when they do it selects the first letter in the word. Like...
I type in cat. Click create. Then it recieves the word and the variable becomes "c".
How would I go about doing that?
The first letter in a string $str can be accessed as $str{0}