Vettero

String

String operations for formatting, search, conversion, and helpers.

Type

data-ops.string
Folderbasic/data-ops
Channels

Any

Pipe

Value

Scope

Any

String (canvas label String · plus the operation) runs one text Operation and writes the result to the data pipe. Search / Pattern fields accept plain text or a /pattern/flags regex literal.

Use Create Text to assemble a template. Use Hash when you need bcrypt. String → Hash supports Node digest names such as sha256 (default), md5, sha1, and sha512.

Configure

SettingDescription
OperationGrouped list. Changing it resets the other fields
Remaining fieldsDepend on Operation (for example String, Search, Length)

Handles

HandleRole
In (target)Incoming connection
Out (source)Continues after the operation

Pipe schema

The next block reads this on the data pipe (pipe.value). The type depends on Operation: text, number, true/false, a list of text, or a parsed JSON value (To JSON).

Operations

Core

OperationResultInputs
CreatetextValue — convert to text
Is emptytrue/falseString
LengthnumberString

Case and trim

OperationResult
To upper / To lowertext
Trim / Trim start / Trim endtext
Capitalizetext — first character
Capitalize alltext — each word

Each of these takes String.

Search and match

OperationResultInputs
Includes / Starts with / Ends withtrue/falseString, Search
Index of / Last index ofnumberString, Search (-1 if missing)
Matchlist of textString, Pattern

Replace, concat, split

OperationResultInputs
ReplacetextString, Search, Value — first match
Replace alltextSame fields — every match
ConcattextStrings (array) — no separator
RepeattextString, Count
Splitlist of textString, Separator
JointextArray, Separator

Extract and pad

OperationResultInputs
Substring / SlicetextString, Start, optional End
Char attextString, Index
Pad start / Pad endtextString, Length, optional Fill

Compare and validate

OperationResultInputs
Equalstrue/falseA, B — case-sensitive
Equals ignore casetrue/falseA, B
ComparenumberA, B — -1, 0, or 1
Is alpha / Is numeric / Is alphanumerictrue/falseString
Is email / Is URL / Is UUIDtrue/falseString

Convert

OperationResultInputs
To numbernumberString — fails if empty or not finite
To booleantrue/falseString — true/false, 1/0, yes/no, on/off
To JSONanyString — parsed JSON

Helpers

OperationResultInputs
TruncatetextString, Length — hard cut
EllipsistextString, Length — adds ... when truncated
ReversetextString
RemovetextString, Pattern — all matches removed
NormalizetextString — Unicode NFC
SlugifytextString — URL-friendly slug
HashtextString, optional Algorithm (default sha256) — hex digest

Use case

  • Trim and Slugify a title before storing it.
  • Split a comma-separated field, then loop with For Of or Array.
  • Is email before writing a contact row.
Copyright © 2026