endsWith
Tells whether the text ends with the given text.
Details #
endsWith(text, suffix) takes exactly two arguments and returns true or false. It is case-sensitive. Non-text values are turned into text first.
Parameters #
Takes 2 arguments.
{{ endsWith(text, b) }}
Examples #
endsWith("report.pdf", ".pdf")→
trueendsWith(lower(file), ".png")→
true| Sample variable | Value |
|---|---|
file | PHOTO.PNG |