If my parser reads through a file and encounters the string sequence backslash, 
n or the string 
sequence backslash, t, then I (as a parser for a language with Java-style 
string semantics) would 
like to convert that to newline and tab, respectively.  Similarly, I'd like to 
convert \u0017 into 
the appropriate unicode character.  What's the easiest way to go about doing 
that on the JVM?  Any 
handy method out there to accomplish that, either in the standard library or 
some other library?

~~ Robert Fischer.
Grails Training        http://GroovyMag.com/training
Smokejumper Consulting http://SmokejumperIT.com
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" 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/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to