Math functions
abs
Returns the absolute value.floor
Rounds down to the nearest integer.ceil
Rounds up to the nearest integer.round
Rounds to the nearest integer or decimal places.trunc
Truncates toward zero.min
Returns the minimum value from an array.max
Returns the maximum value from an array.sum
Returns the sum of array values.avg
Returns the average of array values.median
Returns the median of array values.mode
Returns the most frequent value.rand
Returns a random number between 0 and the specified maximum.String functions
len
Returns the length of a string or array.upper
Converts to uppercase.lower
Converts to lowercase.trim
Removes leading and trailing whitespace.contains
Checks if a string contains a substring, or array contains a value.startsWith
Checks if a string starts with a prefix.endsWith
Checks if a string ends with a suffix.matches
Tests a string against a regular expression.extract
Extracts groups from a regular expression match.split
Splits a string by delimiter.fuzzyMatch
Returns a similarity score (0-1) between strings.Array functions
These functions iterate over arrays. Use# for the current element, or as for a named alias: