EndsWith method (text)

Tests if this text ends with a specified text.

Syntax

text1.EndsWith(text2)

Returns True if text1 ends with text2, otherwise False.

Example

{% Var text = 'alpha bravo charlie' %}
  
Answer: {{ text.EndsWith('charlie') }}, {{ text.EndsWith('bravo') }}

The above example would output something similar to: Answer: True, False