Breadcrumbs

StringUtils

The stringUtils placeholder forwards all method calls to  StringUtils.
Please refer to the  original documentation for more information about implementation details.

Below you can find some most common implementation examples.

Methods

Name

Type

Description

$stringUtils

org.apache.commons.lang.StringUtils

A helper object for modifying strings in the template. See  StringUtils for more information.

$stringUtils.join(['oneString', 'otherString'], '-')

org.apache.commons.lang.StringUtils

Joins the elements of the provided array into a single String containing the provided list of elements.
Example will resolve to: 'oneString-otherString'

$stringUtils.indexOf($myString, 'searchString')

org.apache.commons.lang.StringUtils

Finds the first index within a String, handling null.