A reference document listing built-in convenience functions to support data transformation in expressions for strings.
Encode a string as base64.
Convert a base64 encoded string to a normal string.
Extracts a domain from a string containing a valid URL. Returns undefined if none is found.
Extracts an email from a string. Returns undefined if none is found.
Extracts a URL from a string. Returns undefined if none is found.
Extract the path but not the root domain from a URL. For example, "https://example.com/orders/1/details".extractUrlPath() returns "/orders/1/details/".
Returns a string hashed with the given algorithm.
Function parameters
algo(OPTIONAL, STRING ENUM): Which hashing algorithm to use.Default:
md5One of:
md5,base64,sha1,sha224,sha256,sha384,sha512,sha3,ripemd160
Checks if a string is a domain.
Checks if a string is an email.
Checks if a string is empty.
Checks if a string has content.
Checks if a string only contains digits.
Checks if a string is a valid URL.
Equivalent of JSON.parse(). Parses a string as a JSON object.
Returns a string wrapped in the quotation marks. Default quotation is ".
Function parameters
mark(OPTIONAL, STRING): Which quote mark style to use.Default:
"
Removes Markdown formatting from a string.
Replaces non-ASCII characters in a string with an ASCII representation.
Remove tags, such as HTML or XML, from a string.
Convert a string to a boolean. "false", "0", "", and "no" convert to false.
Converts a string to a Luxon date object.
See toFloat
Converts a string to a decimal number.
Converts a string to an integer.
Formats a string to sentence case.
Formats a string to snake case.
Formats a string to title case. Will not change already uppercase letters to prevent losing information from acronyms and trademarks such as iPhone or FAANG.
Converts a string to a whole number.
Decodes a URL-encoded string. It decodes any percent-encoded characters in the input string, and replaces them with their original characters.
Function parameters
entireString(OPTIONAL, BOOLEAN): Whether to decode characters that are part of the URI syntax (true) or not (false).
Encodes a string to be used/included in a URL.
Function parameters
entireString(OPTIONAL, BOOLEAN): Whether to encode characters that are part of the URI syntax (true) or not (false).