Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: equals with escapes
01-14-2010, 07:45 AM #1
- Join Date
- Dec 2005
- Thanked 79 Times in 79 Posts
equals with escapes
the contence of s is:
<div style="color: #003362"> </div>
if s.equals("<div style=\"color: #003362\"> </div>") ...
How to handle that ?
Last edited by BubikolRamios; 01-14-2010 at 09:46 AM.
01-14-2010, 11:28 PM #2
Off hand I can not see why the two would not be equal. They have the same case as well.
We know one thing for sure, s is not equal to the string you compared it to. If the string you compared it to is correct, then s must be incorrect.
Maybe trying to print out s and make sure it's in all lower case.
Seeing how/what s is would be really helpful.