Skip to main content

/images/icons/xs_temp.svg Append Text

    text.append $myText {
      value = "Text to append"
    }
ParameterPurposeExample
$myTextThis is the variable that contains the text to target$myText
valueThis is the text to append to the text in the variable.”Text to append”
    text.append $myText {
      value = "Text to append"
    }

/images/icons/xs_temp.svg Prepend

    text.prepend $myText {
      value = "Text to prepend"
    }
ParameterPurposeExample
$myTextThis is the variable that contains the text to target$myText
valueThis is the text to append to the text in the variable.”Text to append”
    text.prepend $myText {
      value = "Text to prepend"
    }

/images/icons/xs_temp.svg Trim

    text.trim $myText {
      value = "Text to trim"
    }
ParameterPurposeExample
$myTextThis is the variable that contains the text to target$myText
valueThe text you’d like to trim. If you do not provide a value, blank space will be trimmed by default.”Text to trim”
    text.trim $myText {
      value = "Text to trim"
    }

/images/icons/xs_temp.svg Left Trim

    text.ltrim $myText {
      value = "Text to trim"
    }
ParameterPurposeExample
$myTextThis is the variable that contains the text to target$myText
valueThe text you’d like to trim. If you do not provide a value, blank space will be trimmed by default.”Text to trim”
    text.ltrim $myText {
      value = "Text to trim"
    }

/images/icons/xs_temp.svg Right Trim

    text.rtrim $myText {
      value = "Text to trim"
    }
ParameterPurposeExample
$myTextThis is the variable that contains the text to target$myText
valueThe text you’d like to trim. If you do not provide a value, blank space will be trimmed by default.”Text to trim”
    text.rtrim $myText {
      value = "Text to trim"
    }

/images/icons/xs_temp.svg Starts With

    text.starts_with $myText {
      value = "Search text"
    } as $textFound
This function is also available as a case-insensitive version as:
text.istarts_with $myText {
  value = "Search text"
} as $textFound
ParameterPurposeExample
$myTextThis is the variable that contains the text to target$myText
valueThe text you’d like to search for.”Search text”
$textFoundThe variable to store the result.$textFound
    text.starts_with $myText {
      value = "Search text"
    } as $textFound

/images/icons/xs_temp.svg Ends With

    text.ends_with $myText {
      value = "Search text"
    } as $textFound
This function is also available as a case-insensitive version as:
text.iends_with $myText {
  value = "Search text"
} as $textFound
ParameterPurposeExample
$myTextThis is the variable that contains the text to target$myText
valueThe text you’d like to search for.”Search text”
$textFoundThe variable to store the result.$textFound
    text.ends_with $myText {
      value = "Search text"
    } as $textFound

/images/icons/xs_temp.svg Contains

    text.contains $myText {
      value = "Search text"
    } as $textFound
This function is also available as a case-insensitive version as:
text.icontains $myText {
  value = "Search text"
} as $textFound
ParameterPurposeExample
$myTextThis is the variable that contains the text to target$myText
valueThe text you’d like to search for.”Search text”
$textFoundThe variable to store the result.$textFound
    text.contains $myText {
      value = "Search text"
    } as $textFound

/images/icons/xs_temp.svg Starts With (Case-Insensitive)

    text.istarts_with $myText {
      value = "Search text"
    } as $textFound
Checks if the text in $myText starts with the given value, ignoring case. Returns true or false in $textFound.

/images/icons/xs_temp.svg Ends With (Case-Insensitive)

    text.iends_with $myText {
      value = "Search text"
    } as $textFound
Checks if the text in $myText ends with the given value, ignoring case. Returns true or false in $textFound.

/images/icons/xs_temp.svg Contains (Case-Insensitive)

    text.icontains $myText {
      value = "Search text"
    } as $textFound
Checks if the text in $myText contains the given value, ignoring case. Returns true or false in $textFound.
I