Hi folks I am sorry to ask such a simple question but am a newbie. Is there any way to replace a character in a string with '' ? I mean..suppose we have a phone number like this: 91-44-4220200 Is there any way to get it as 91444220200 ?
I looked up the String replace method. But it will replace '-' with ' ' only (a blank). Thank you Deepak =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com