Skip to main content

Text: SubString

Slice a substring out of an input string by character indices (Unicode-safe). Out-of-range indices clamp to the string length; End ≤ Start produces an empty result.

Example
Start: 0, End: 5
Input: "hello world" → Output: "hello"

Start: 6, End: 11
Input: "hello world" → Output: "world"

Parameters

Start

Starting character index, inclusive (0-based). Defaults to 0.

End

Ending character index, exclusive. Values past the input length clamp to the end. The backend default is 0 (empty result); nodes created in the editor are seeded with 10.

Input

Stringrequired
Text to slice.

Output

String
The sliced substring.