Slice Text

text · C138 · starter-package 7.0.1

Returns part of a string by position and length.

Use it when

Take a bounded Unicode code-point slice with optional negative start-from-end positioning.

Inputs and output

  • Text is required text.
  • Start is required number.
  • Length is required number.
  • Text returns text.

Rules

Start and Length are strict whole numbers. Negative Start counts from the end; Start must remain within the text and Length is non-negative.

Text can contain at most 1,000,000 characters. An invalid value, exceeded limit, or unsupported option stops the workflow at this block with a clear message.

Errors and recovery

When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputtext — Texttextyes
Inputstart — Startnumberyes
Inputlength — Lengthnumberyes
Outputresult — Texttexton success