Text Supplier
Overview
Provides information about text values.
Details
Name: | Text Supplier |
---|---|
Prefix: | text(optional) |
Supported Content: | Text |
Provided By: |
Supported Keys
List of keys that this supplier returns a value for.
Key | Content Types | Return Type | Description |
---|---|---|---|
size | Text | The number of characters in the text value. | |
trim | Text | Text | Trims any white space (spaces, tabs, etc) from the text value. Â Trim only works for plain text, and currently does not support Rich text. |
lower case | Text | Text | Converts the text to lower case. |
upper case | Text | Text | Converts the text to upper case. |
first [X] | Text | Text | Trims the text to only include the first X characters. For example
|
after first [X] | Text | Text | Trims the text to only include characters after the first X. From v4.0.0 For example
|
last [X] | Text | Text | Trims the text to only include the last X characters. For example
|
before last [X] | Text | Text | Trims the text to only include characters before the last X characters. From v4.0.0 For example
|
url encode | Text | Text | URL-encodes the text value so it is safe to include in a URL. |
html escape | Text | Text | Escapes any special HTML characters so they will display correctly in HTML content. |
xml escape | Text | Text | Escapes any special XML characters so they will display correctly in XML content. |
equals [X] | Text | Tests if the text equals the 'X' value supplied. From v2.0.0 For example
This is case-sensitive. | |
starts with [X] | Text | Tests if the text starts with the 'X' value supplied. From v2.0.0 For example
This is case-sensitive. | |
ends with [X] | Text | Tests if the text ends with the 'X' value supplied. From v2.0.0 For example
This is case-sensitive. | |
match [X] | Text | Tries to match the current complete text value with the specified regular expression. From v3.1.0 | |
find [X] | Text | Tries to match a subset of the current text value with the specified regular expression. From v3.1.0 | |
split with [X] | Text | List of Text | Splits the text value into chunks, divided by sub-text that matches the specified regular expression. From v3.2.0 |
as number [X] | Text | Converts the text into a Number, using the provided format to parse it. From v3.2.0 | |
as date [X] | Text | Tries to convert the text value into a Date based on the provided format. From v3.2.0 | |
is empty | Text | Is true if the text value has no characters. From v3.2.0 | |
is blank | Text | Is true if the text value is empty or all characters are white-space. From v3.2.0 |