Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| In | String or Binary | Yes | The value to transform. Binary must be valid UTF-8; non-UTF-8 bytes or any other type fail the Node, and its On Error verb resolves the failure. |
The String operation applies a single transformation to a string value. It supports trimming, casing, replacement, truncation, and substring extraction with UTF-8-safe behaviour.
Replace with an empty Find changes nothing, and the Editor marks the Find field with a warning until it is filled.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| In | String or Binary | Yes | The value to transform. Binary must be valid UTF-8; non-UTF-8 bytes or any other type fail the Node, and its On Error verb resolves the failure. |
Outputs
| Port | Type | Default | Description |
|---|---|---|---|
| Out | String | "" | The transformed string result. |
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Operation Type | StackedDataSet | Trim | The transformation to apply: |
| Trim | Removes leading/trailing ASCII whitespace. | ||
| Uppercase | Unicode-aware uppercase conversion. | ||
| Lowercase | Unicode-aware lowercase conversion. | ||
| Capitalize | Uppercases the first non-whitespace character. | ||
| Replace | Replaces all occurrences of a substring: | ||
| Find | String | "" | Substring to find. Empty = no-op. |
| Replace with | String | "" | Replacement string. |
| Case Insensitive | Boolean | false | Match regardless of letter case (Unicode-aware). |
| Truncate | Limits string length: | ||
| Length | Integer | 20 | Maximum output length. |
| Suffix | String | "..." | Appended only when truncation occurs. |
| Length is in bytes | Boolean | false | Measure in bytes instead of grapheme clusters. |
| Count suffix in total length | Boolean | false | When on, suffix must fit within Length. |
| Substring | Extracts a portion of the string: | ||
| Start | Integer | 1 | 1-based, inclusive start position. |
| Length | Integer | 20 | Number of units to extract. |
| Length is in bytes | Boolean | false | Measure in bytes instead of grapheme clusters. |
| On Error | Combo | Stop this branch | Per-op On Error verb (Stop this branch / Continue with the last value / Continue with the fallback). See the Error Handling guide. |
State on Reload
Output is preserved across restarts within the configured time window.
Receive input — The operation receives In.
Validate — If the input is unconnected, Nil, non-UTF-8 Binary, or any type the port mask should have rejected, the On Error verb is applied.
Transform — The selected transformation is applied with its configuration.
Output — The resulting string is emitted on Out.
Operation Type: Trim In: " alice "
Out: "alice"
Operation Type: Capitalize In: " alice "
Out: " Alice "
Operation Type: Uppercase In: " alice "
Out: " ALICE "
Operation Type: Replace Find: "Bob" Replace with: "Charlie" In: "Hello, Bob!"
Out: "Hello, Charlie!"
Operation Type: Replace Find: "error" Replace with: "warning" Case Insensitive: true In: "ERROR: disk full"
Out: "warning: disk full" — matching is case-insensitive but non-matched text preserves its original casing.
Operation Type: Truncate Length: 20 Suffix: "..." Count suffix in total length: false
In: "This is a very long sentence that needs truncation."
Out: "This is a very long ..." (suffix appended on top of the 20-character content)
With Count suffix in total length = true: Out: "This is a very lo..." (suffix fits inside 20)
Operation Type: Substring Start: 2 Length: 3 Length is in bytes: false
In: "abcde" (Cyrillic example: "abcde")
Out: characters 2 through 4 of the input.
space, \t, \f, \v, \n, \r).String can hit these errors: an unconnected input, a Nil or non-UTF-8 Binary value on the input.
Any of these triggers the On Error verb you picked. See the Error Handling guide for the common On Error model; String’s options are:
| Verb | What it does |
|---|---|
| Stop this branch (default) | This Node and its dependents stop; Out keeps its value and reads as a failed update. |
| Continue with the last value | Dependents run on the value Out already holds, not stamped as new; it reads as a failed update. |
| Continue with the fallback | Dependents run on Out’s per-output Fallback, stamped as this run’s value; it reads as a failed update. The Editor refuses a Task where the Fallback is unset. |
For String, configure the per-output Fallback in Settings (under the Out port) with type String and the literal default value (e.g. "" or "N/A"); Continue with the fallback then emits that string on any error.