Advanced Functions and Expressions
Along with the properties of a bean expression, you can also access static Java methods directly by using fully qualified class names as prefixes. The following example calls a static method and a string object:
${java.lang.String.format('Hello %s', 'world')}

The output is the of the example above is Hello world.
The other advanced function is that you can access the static methods on Apache Commons' StringUtils directly using a StringUtils: prefix:
${StringUtils:substringAfter(item.name, "-")}

Was this helpful?