Strings¶
Text processing helpers.
Conversions¶
STRING(x)→ string representation ornullfornull.NUMBER(x)→ parses numbers/booleans/strings into the float (F) or integer (I) domains. UseDEC(...)for BigInt/BigDec parsing; invalid strings error, andnullstaysnull.BOOLEAN(x)→ truthiness:falsefornull, empty string, or zero;trueotherwise.INT(x)→ strict integer conversion for numbers/booleans/strings; errors on fractional values; returnsnullfornull; large values may return BigInt.PARSE_INT(x[, default])→ tolerant integer parsing for strings; uses digits only and returnsdefault(or0) onnull/no digits.BASE64_ENCODE(bytes)→ base64 string using the standard alphabet with=padding.BASE64_DECODE(text)→ bytes decoded from base64 text; errors on invalid input.
Text operations¶
SUBSTRING(str, start[, len])→ substring with safe bounds; errors if start > length.CONTAINS(str, substr)→ boolean containment.MATCH(str, pattern)→ regex matches as a list.REPLACE(str, pattern, repl)→ regex replace.SPLIT(str, sep)→ list of parts.JOIN(list, sep)→ concatenates stringified elements with a separator.UPPER(str)/LOWER(str)/TRIM(str)→ casing and whitespace helpers.
Formatting¶
FORMAT(template, args)→ interpolate placeholders intemplate.- Use
{name}for object fields and{0}for list indexes. - Escape braces with
{{and}}. - Unknown placeholders are left as-is.