Endswith

Description
Checks whether the end of the source string matches the pattern. Returns true if it matches, and false otherwise. The pattern is case-sensitive.

Syntax
endswith

Parameters

 * source
 * any text
 * pattern
 * any string to check for at the end of the source string

Examples
var sourcetext Hello World eval result endswith("%sourcetext","World") Result: true