Inputs
Outputs
Index behavior
- Positive indexes count from the beginning, starting at
0. - Negative indexes count backward from the end;
-1refers to the final character. - An index outside the string is clamped to its valid bounds.
- If the resolved end comes before the resolved start, the result is empty.
workflow, a start of 0 and end of 4 returns work. A start of -4
with no end returns flow.