Equals method (text)

Returns a value indicating whether this text and a specified text represent the same value.

Syntax

text1.Equals(text2)

Returns true if text1 and text2 are equal; otherwise, false.

The test is case sensitive.

Example

{% Var value1 = 'abc' %}
{% Var value2 = 'abcd' %}

Answers: {{ value1.Equals(value2) }},
         {{ value1.Equals('abc') }},
         {{ value2.Equals('abc') }}

The above example would output: Answers: False, True, False