|
-
Dec 12th, 2006, 01:30 AM
#1
Thread Starter
Hyperactive Member
Problem with .equalsIgnoreCase
Is there an easy way to do this ?
if(_houseColor.equalsIgnoreCase( "White" || "Red" || "Blue" || "Yellow" || "Black" || "Green" ) ){
This is as far as I got, I don't want to say .equalsIgnoreCase for each possibility.
All help is appreciated ~Bryan J. Casler
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|