commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nestor Urquiza <>
Subject [jexl] How to escape the Apostrophe
Date Fri, 26 May 2006 12:49:23 GMT
Hello guys,
I need to have a string resulting from the expression 
"foo's brother" + " is bar"

However the software I am using is expecting the
concatenation to use single quotes like:

'foo's brother' + ' is bar'

Of course the above is invalid and I cannot come up
with a solution for escaping. I have tested:

'foo\'s brother' + ' is bar'
'foo\\'s brother' + ' is bar'

But they are invalid as well. Can I escape the

What are the possible solutions for it?

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message