did you try to use the regex method

boolean matches = someString.matches("\\S");

HTH

Dominik

On 28 Sep., 13:39, Ed <[email protected]> wrote:
> What is the correct way to check for a white space character?
>
> This is done by the method Character.isWhitespace(char) but not
> supported by GWT. What is the alternative?
>
> I know check for whiteSpaces through
> someString.charAt(index) == ' ';
>
> But I am not sure if that's good enough as I think I forget things
> like \t....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to