String Subset Function
- Updated2026-06-02
- 2 minute(s) read
Returns the substring of the input string beginning at offset and containing length number of bytes.
The connector pane displays the default data types for this polymorphic function.

Inputs/Outputs
string
—
string is the input string.
offset (0)
—
offset specifies the number of bytes into string where the function starts searching for a match. offset must be numeric. The offset of the first byte in string is 0. If offset is unwired or less than 0, the function sets offset to 0.
length (rest)
—
length must be numeric. If length is left unwired, the default is the length of string minus offset.
substring
—
substring is empty if offset is greater than the length of the string or if the length is less than or equal to 0. If length is greater than or equal to the length of string minus offset, substring is the remainder of string beginning at offset. |
string
—
offset (0)
—
substring
—