Is there a function in JEXL to convert a string to lowercase? like we have this .toLowerCase() in velocity? I’m trying to convert a string to lowercase in template bindings for db publishing.
Paddy
Is there a function in JEXL to convert a string to lowercase? like we have this .toLowerCase() in velocity? I’m trying to convert a string to lowercase in template bindings for db publishing.
Paddy
Just use the Java toLowerCase() function (
ie.
#set($myvariable = $myvariable.toLowerCase())##