Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] creating string with \ in it

Jason Davis

2010-03-15

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello,
 Im trying to Eval a some strings I get sent so. Some of the strings have \ in it. Even If i quote the strings the \ is still interperted.
Example:

println '''\foo'''

prints oo

Anyway around this?

Thanks,
Jason
©2008 gg3721.com - Jax Systems, LLC, U.S.A.