db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: Java 1.4.2 or Java6?
Date Thu, 25 Jun 2009 12:42:27 GMT
Tiago Espinha wrote:
> Finally, for some background, the overload is the 
> String.replace(CharSequence, CharSequence);. On 1.4.2 there is only a 
> replace method in Strings that takes two chars and it doesn't allow us 
> to replace whole chunks of a string, so that's why I got the error. If 
> I have to make it 1.4.2-compatible I am also open to suggestions on 
> replacing chunks of a string, in this case with an empty string (so in 
> essence, removing whole pieces of a string a string).
I think replaceAll is available on 1.4.2. Will that work for you?

View raw message