Is there a simple way (inside a user macro) to convert a string to uppercase ?
Already tried #set ($myString = $myString.upperCase()) etc. without any luck.
I need this for comparing string case-insensitive ...
Thnx !
Try this
#set ($myString = $myString.toUpperCase())
Hi Davin !
Works fine. Thnx a lot!
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear it! Feel free to check mark this answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.