Substring
Strings
Substring is a ProtoFlux node that allows one to get an arbitrary portion of a provided String.
Inputs
Str (String)
The string to remove a segment from.
StartIndex (int)
The 0-indexed starting point of retrieval from Str
.
Length (int)
Length of output substring.
Outputs
* (String)
A segment of Str
starting at StartIndex
with length Length
. If the segment goes past the end of Str
, the output is truncated at the end of Str
. If Length
is less than 1
, the output will be an Empty String.
Examples
-
Substring being used to tell what's inside of a string in a provided segment, as well as its relation to Get Character.