Append Text
Parameter | Purpose | Example |
---|---|---|
$myText | This is the variable that contains the text to target | $myText |
value | This is the text to append to the text in the variable. | ”Text to append” |
Example
Example

Prepend
Parameter | Purpose | Example |
---|---|---|
$myText | This is the variable that contains the text to target | $myText |
value | This is the text to append to the text in the variable. | ”Text to append” |
Example
Example

Trim
Parameter | Purpose | Example |
---|---|---|
$myText | This is the variable that contains the text to target | $myText |
value | The text you’d like to trim. If you do not provide a value, blank space will be trimmed by default. | ”Text to trim” |
Example
Example

Left Trim
Parameter | Purpose | Example |
---|---|---|
$myText | This is the variable that contains the text to target | $myText |
value | The text you’d like to trim. If you do not provide a value, blank space will be trimmed by default. | ”Text to trim” |
Example
Example

Right Trim
Parameter | Purpose | Example |
---|---|---|
$myText | This is the variable that contains the text to target | $myText |
value | The text you’d like to trim. If you do not provide a value, blank space will be trimmed by default. | ”Text to trim” |
Example
Example

Starts With
This function is also available as a case-insensitive version as:
Parameter | Purpose | Example |
---|---|---|
$myText | This is the variable that contains the text to target | $myText |
value | The text you’d like to search for. | ”Search text” |
$textFound | The variable to store the result. | $textFound |
Example
Example

Ends With
This function is also available as a case-insensitive version as:
Parameter | Purpose | Example |
---|---|---|
$myText | This is the variable that contains the text to target | $myText |
value | The text you’d like to search for. | ”Search text” |
$textFound | The variable to store the result. | $textFound |
Example
Example

Contains
This function is also available as a case-insensitive version as:
Parameter | Purpose | Example |
---|---|---|
$myText | This is the variable that contains the text to target | $myText |
value | The text you’d like to search for. | ”Search text” |
$textFound | The variable to store the result. | $textFound |
Example
Example
Starts With (Case-Insensitive)
$myText
starts with the given value, ignoring case. Returns true
or false
in $textFound
.
Ends With (Case-Insensitive)
$myText
ends with the given value, ignoring case. Returns true
or false
in $textFound
.
Contains (Case-Insensitive)
$myText
contains the given value, ignoring case. Returns true
or false
in $textFound
.