how to use string.replace();
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, July 17, 2001 06:51 AM

when i use replace('/','\\') it is giving errors.

how to use this type of methods.

please help me and mail me at sreekrkc@hotmail.com

Re: how to use string.replace();

Posted By:   Naveed_Azhar  
Posted On:   Tuesday, July 17, 2001 07:09 AM

Hello there!!


Hope it helps you:


String istr = "as/df";
String fstr = istr.replace('/','\\');
System.out.println (fstr);


Naveed Azhar

naveed@hotmail.com
About | Sitemap | Contact