ends-with
Function
Checks if text ends with a specified suffix
Syntax
$result = ends-with "world" $text
check if variable ends with literal suffix
$result = ends-with $suffix $text
check if variable ends with variable suffix
$result = ends-with "world" "hello world"
check if literal text ends with literal suffix
$result = ends-with $suffix "hello world"
check if literal text ends with variable suffix