> I am trying to replace ALL the Whitespace in a string. If I do this;
>
> String newcat = newcat1.replace(' ','');
>
> I get this error;
>
> 100. String newcat = newcat1.replace(' ','');
> <>
> *** Lexical Error: Empty character constant
Try i
[EMAIL PROTECTED]]
> Gesendet: Dienstag, 19. Dezember 2000 22:06
> An: '[EMAIL PROTECTED]'
> Betreff: Replacing ALL Whitespace in string
>
>
> I am trying to replace ALL the Whitespace in a string. If I do this;
>
> String newcat = newcat1.replace(' ',
I am trying to replace ALL the Whitespace in a string. If I do this;
String newcat = newcat1.replace(' ','');
I get this error;
100. String newcat = newcat1.replace(' ','');
<>
*** Lexical Error: Empty character constant
My newcat strin