The reason I didn't provide an initial answer is, I wondered if OP was just trying to handle mixed case input. In which case they could use toLowerCase (or toUpperCase) or perhaps equalsIgneorCase.
Now I think I will sit on a suitcase while drinking a case of beer.
Just in case you were wondering.
Message was edited by:
flounder
> The reason I didn't provide an initial answer is, I
> wondered if OP was just trying to handle mixed case
> input. In which case they could use toLowerCase (or
> toUpperCase) or perhaps equalsIgneorCase.
I think they could be volcanic in origin for all he cares.
> Now I think I will sit on a suitcase while drinking a
> case of beer.
>
MMmm beer.