3
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by jyovasinedu
0

Read the API for String. There is a method there, inherited from Object, with the same name as the symbol used in many comparisons. Use that method. (And, yes, I am being purposely obscure.)

Edit: Aaarrgh, and another newb has already given code. Do not give out easy answers without the poster showing some initiative. I can almost guarntee this is some sort of homework/assignment question, and he should do those himself, not just be given an answer.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.