Expression Language
Also available as:
PDF

startsWith

Description: Returns true if the Subject starts with the String provided as the argument, false otherwise.

Subject Type: String

Arguments:

  • value : The value to search for

Return Type: Boolean

Examples: If the "filename" attribute has the value "a brand new filename.txt", then the Expression ${filename:startsWith('a brand')} will return true. ${filename:startsWith('A BRAND')} will return false. ${filename:toUpper():startsWith('A BRAND')} returns true.