StartsWith method (text)

Tests if this text starts with a specified text.

Syntax

text1.StartsWith(text2)

Returns True if text1 starts with text2, otherwise False.

Example

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

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