endsWith
Description: Returns true
if the Subject ends 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:endsWith('txt')}
will return true
. ${filename:endsWith('TXT')}
will return false
. ${filename:toUpper():endsWith('TXT')}
returns true
.