It sounds like the user prompts are too vague if you could get such
varied input. The best solution if you can’t restrict their input is to
keep it as a String until you actually have to perform a non-String
operation on it. That way you can test the String for clues without
truncating it.