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 re
use
String title = TITLE.replace('"', '\'');
-Original Message-
From: Lance Prais [mailto:[EMAIL PROTECTED]]
Sent: 27 August 2002 21:57
To: [EMAIL PROTECTED]
Subject: Help with replacing a quotes
I am trying to replace '"'(Doubl
use \' instead of ' .
Babak Vandad
--- Lance Prais <[EMAIL PROTECTED]> wrote:
> 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('"',
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
_