How do you know it's not inputting the string? Immediately after you try to input it, display it. Don't just assume something is wrong. Prove it.
And it's impossible to be "executing both if and else statements". It can't be done.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944