
05-08-2008, 12:19 PM
|
 |
Senior Member
|
|
Join Date: Apr 2008
Location: Delhi(India)
Posts: 249
|
|
Originally Posted by Eranga
Still there are lots of points to talk. May be not for us, for newbie specially.
Ok, Sanjeev and Rakesh, can you the difference about those two line of code.
if("String".trim() == "String".trim())
and
if("String".trim() == "String ".trim())
Did you see the slight difference there. My next quiz is, the answer is changed or remain as "Yes"?
 
Ans will be YES ...... because trim() method will be called first
__________________
sanjeev,संजीव
|