Text

NodeDescriptionInputsOutputs
camel_caseConverts text to camelCase.text Textresult Text
char_atReturns the character at the given index.text Text, index Numberresult Text
concatConcatenates two text values.a Text, b Textresult Text
containsReturns true if text contains the search string.text Text, search Textresult Boolean
ends_withReturns true if text ends with the given suffix.text Text, suffix Textresult Boolean
format_numberFormats a number with decimals, separators, and affixes.value Number, decimals Number, separator Text, prefix Text, suffix Textresult Text
joinJoins an array of values into text with a separator.array Json, separator Textresult Text
lengthReturns the length of the input text.text Textresult Number
lowerConverts text to lowercase.text Textresult Text
padPads text to a target length.text Text, length Number, char Text, side Textresult Text
regex_extractExtracts regex match groups from text.text Text, pattern Text, flags Textmatches Json
regex_matchTests text against a regex pattern.text Text, pattern Text, flags Textresult Boolean
regex_replaceReplaces regex matches in text.text Text, pattern Text, replacement Text, flags Textresult Text
repeatRepeats text n times.text Text, count Numberresult Text
replaceReplaces occurrences of a pattern in text.text Text, find Text, replace Text, all Booleanresult Text
reverseReverses the characters in a string.text Textresult Text
slugConverts text to a URL-friendly slug.text Textresult Text
snake_caseConverts text to snake_case.text Textresult Text
splitSplits text into an array by delimiter.text Text, delimiter Textresult Json
starts_withReturns true if text starts with the given prefix.text Text, prefix Textresult Boolean
substringExtracts a portion of text by start index and length.text Text, start Number, length Numberresult Text
templateSubstitutes {{key}} placeholders in a template string.template Text, data Jsonresult Text
title_caseCapitalizes the first letter of each word.text Textresult Text
trimRemoves leading and trailing whitespace.text Textresult Text
truncateTruncates text to a maximum length with a suffix.text Text, length Number, suffix Textresult Text
upperConverts text to uppercase.text Textresult Text
wrapWord-wraps text at a given column width.text Text, width Numberresult Text

camel_case

Converts text to camelCase.

Inputs:

Output: result (Text) — camelCased text

Example: text = hello worldhelloWorld Example: text = some-slugsomeSlug

See also: snake_case, title_case

char_at

Returns the character at the given index.

Inputs:

Output: result (Text) — single character

concat

Concatenates two text values.

Inputs:

Output: result (Text) — combined text

contains

Returns true if text contains the search string.

Inputs:

Output: result (Boolean) — true if found

ends_with

Returns true if text ends with the given suffix.

Inputs:

Output: result (Boolean) — true if text ends with suffix

format_number

Formats a number with decimals, separators, and affixes.

Inputs:

Output: result (Text) — formatted number string

Example: decimals = 2, prefix = $, separator = ,, value = 1234.5$1,234.50

See also: template, pad

join

Joins an array of values into text with a separator.

Inputs:

Output: result (Text) — joined text

length

Returns the length of the input text.

Inputs:

Output: result (Number) — character count

lower

Converts text to lowercase.

Inputs:

Output: result (Text) — lowercase text

pad

Pads text to a target length.

Inputs:

Output: result (Text) — padded text

regex_extract

Extracts regex match groups from text.

Inputs:

Output: matches (Json) — array of matched groups

regex_match

Tests text against a regex pattern.

Inputs:

Output: result (Boolean) — true if pattern matches

Example: flags = , pattern = \d+, text = abc123true

See also: regex_extract, regex_replace

regex_replace

Replaces regex matches in text.

Inputs:

Output: result (Text) — text with matches replaced

repeat

Repeats text n times.

Inputs:

Output: result (Text) — repeated text

replace

Replaces occurrences of a pattern in text.

Inputs:

Output: result (Text) — text with replacements applied

reverse

Reverses the characters in a string.

Inputs:

Output: result (Text) — reversed text

slug

Converts text to a URL-friendly slug.

Inputs:

Output: result (Text) — url-friendly slug

Example: text = Hello, World! 123hello-world-123

See also: snake_case, lower

snake_case

Converts text to snake_case.

Inputs:

Output: result (Text) — snake_cased text

Example: text = Hello Worldhello_world Example: text = camelCasecamel_case

See also: camel_case, slug

split

Splits text into an array by delimiter.

Inputs:

Output: result (Json) — array of substrings

Example: delimiter = ,, text = a,b,c["a","b","c"]

See also: join, regex_extract

starts_with

Returns true if text starts with the given prefix.

Inputs:

Output: result (Boolean) — true if text starts with prefix

substring

Extracts a portion of text by start index and length.

Inputs:

Output: result (Text) — extracted substring

template

Substitutes {{key}} placeholders in a template string.

Inputs:

Output: result (Text) — template with values substituted

Example: data = {"name":"World"}, template = Hello, {{name}}!Hello, World!

See also: replace, concat

title_case

Capitalizes the first letter of each word.

Inputs:

Output: result (Text) — title-cased text

Example: text = hello worldHello World

See also: upper, camel_case

trim

Removes leading and trailing whitespace.

Inputs:

Output: result (Text) — trimmed text

truncate

Truncates text to a maximum length with a suffix.

Inputs:

Output: result (Text) — truncated text

Example: length = 8, suffix = ..., text = Hello WorldHello...

See also: wrap, substring

upper

Converts text to uppercase.

Inputs:

Output: result (Text) — uppercase text

wrap

Word-wraps text at a given column width.

Inputs:

Output: result (Text) — wrapped text with newlines

Example: text = one two three four, width = 10one two three four

See also: truncate, pad