ProtoFlux:Substring

From Resonite Wiki
Revision as of 01:27, 19 February 2024 by 989onan (talk | contribs) (Create Substring)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Substring
Str
*
StartIndex
Length
Strings

Substring is a ProtoFlux node that allows you to get part of a provided Str (String) of a given Length (int) starting at StartIndex (int).

Inputs

Str (String)

The string to remove a segment from.

StartIndex (int)

The starting point of retrieval from Str (String).

Length (int)

How long of a segment to get from Str (String).

Outputs

* (String)

A segment of Str (String) starting at StartIndex (int) to Length (int) + StartIndex (int).

Examples