Use '\"'

Regards
Rinaldo

-----Messaggio originale-----
Da: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]] Per conto di
Lance Prais
Inviato: marted� 27 agosto 2002 22.57
A: [EMAIL PROTECTED]
Oggetto: Help with replacing a quotes


I am trying to replace '"'(Double quotes) with in a substring with
'''(Single quotes). This is the code I thought I should use but tends to
error out. Can any one help me? String title = TITLE.replace('"', ''');

Thank you in advance
Lance

________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to