Home Tutorialhelp Comment dif bwString.replace(ch,ch)&String.replace(str,str

 
 

Comment

Krishna
dif bwString.replace(ch,ch)&String.replace(str,str,
September 21, 2008 at 6:38 PM

String aStr = "Hello";
if (aStr.replace('H','H') == "Hello")

When we execute this particular above statement.This Returns True.

if (aStr.replace("H","H") == "Hello")
When Yu Know I execute this Its not returning true,its the other way its false.

HELP IF ANY ONE CAN....




View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com