Subject | Re: [Firebird-Java] help replace |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-04-27T17:04:46Z |
> sapete dirmi perchè questa istruzione java:I have not understood what you have asked (I suspect that's Italian, isn't
> str = str.replaceAll("'", "\'"); non mi funziona?
> In pratica sto recuperando dati da Firebird per inserirli in mysql
> e devo sostituire gli apostrofi.
it?), but let me guess - what is the correct replacement for the single
quote in a string literal. In Firebird it is two sigle-quotes ('', but not
").
str = str.replaceAll("'", "''");
Roman