Skip to main content

Text functions

Index of text functions

charAt

Returns the character at the given index.

contains

Tests if the input data contains a specific item.

decodeHtml

Ensures Studio interprets the input string as HTML.

encodeHtml

Encodes HTML tags in a string so they aren't processed as HTML.

endsWith

Tests if a string ends with the given suffix.

indexOf

Returns the first index at which a given value is found.

initCap

Capitalizes the first letter of the input string.

joinStrings

Joins a set of strings to form a single string.

len

Returns the length of a variable — e.g. the number of values in a list.

lower

Converts all input strings to lowercase.

split

Splits a string around matches for specific characters.

startsWith

Tests if a string starts with the given prefix.

substitute

Replaces one or more text strings with another text string.

substring

Returns a substring of the input string.

titleCase

Capitalizes the first letter of each word in the input string.

trim

Trims leading, trailing, and internal whitespace from a string.

upper

Converts all input strings to uppercase.