Java Help: String comparison
I have two strings that contain the same letters, but not the same characters.
ex: string answer = E L E P H A N T
string word = ELEPHANT
Is there any way to tell if these are equal? I have a while loop that needs to exit when answer = word. Any help would be appreciated.
Core 2 Duo E8400 | GeForce 8800gt | 2gb Mushkin RAM | Intel P35 mobo | Seagate 120gb 7200rpm | Thermaltake W0093RU 500W | Samsung 22" widescreen | Raidmax Ninja Case |