Integrations Guide > Design > Expression Builder > List of Text Blocks
Was this helpful?
List of Text Blocks
The following table lists the available Text Blocks.
Block
Function
Description
“”
Wraps the argument in double quotes. Mainly used to specify string values that can be used as input in other blocks.
()
Wraps the argument in parenthesis. Mainly useful for math operations.
Char(parameter)
Returns a string representing the ANSI character corresponding to the ASCII code (0-255) that is supplied as an integer parameter.
Clean(parameter)
Removes all non-printable characters from a string.
operand1 & operand2
Creates a single string by joining two or more individual strings.
Len(parameter)
Returns the number of characters (including spaces) in a string.
Upper(parameter)
Lower(parameter)
Proper(parameter)
Converts the input string to UPPER, lower, or Title case, based on the option that you select from the drop-down:
UPPER – Converts to UPPER case.
lower – Converts to lower case.
Title – Converts to Title case.
Trim(parameter)
TrimLeft(parameter)
TrimRight(parameter)
Removes spaces from the beginning, end or both sides of a string, based on the option that you select from the drop-down:
Both – Removes spaces from both sides.
Left – Removes spaces from the beginning.
Right – Removes spaces from the end.
Reverse(parameter)
Returns the reverse of a string.
CharCount(character, string)
Counts the occurrences of a particular character in a string.
Extract(string, charType)
Extracts characters of a specified type from a string.
Replace(string, replacement, match)
Replaces every occurrence of a specific “String” with the “Replacement” string in the specified search string.
Left(string,length)
Extracts the specified number of characters from the beginning of a given string.
Right(string,length)
Extracts the specified number of characters from the end of a given string.
Mid(string,start,length)
Extracts the specified number of characters from a given string, starting from a specific position.
Last modified date: 12/12/2024