Cut method (text)

Removes the specified text.

Syntax

text1.Cut(text2)

Returns text1 with any values of text2 removed.

Example

{% Var text1 = 'alpha bravo charlie' %}
{% Var text2 = 'bravo' %}

{{ text1.Cut(text2) }}, {{ text1.Cut('a') }}

The above example would output: alpha  charlie, lph brvo chrlie.