did you try to use the regex method

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

HTH

Dominik

On 28 Sep., 13:39, Ed <post2edb...@hotmail.com> 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 google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to