Hi all,
I am having some issues with reading the last blip from my wavelet in
my robot. I have used the line
String sLastBlip = e.getBlip().getDocument().getText();
to get me the last blip that was added to the wave but it appears to
be automatically adding a new line to the end of the wave. I have
tried using
sLastBlip = sLastBlip.replaceAll("\n", "n").replaceAll("\r", "r");
to remove all the new line characters from the string but this doesn't
appear to work. I can use
sLastBlip = sLastBlip.substring(0, sLastBlip.length()-1);
to remove the last character from the string but if the user puts
there own new line in it wont work. Does anyone know what character
google wave uses for a new line?
Thanks
James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---