I wish to find the indexOf a new line in a large string and not sure
how to do it in a cross-platform way neatly.
I'll be iterating over the string doing this a lot, so I'd rather use
a "proper" method rather then hacking something together.

Normally I could use "System.getProperty("line.separator")  " to
identify the character needed, and then just use that in the indexOf
statement. But that doesn't compile under gwt, so does anyone know a
good alternative method?

Cheers,
Thomas :)

-- 
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-tool...@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