Get Character
Characters
Get Character is a ProtoFlux node that retrieves an arbitrary character from a given string.
Inputs
Str (String)
The string to retrieve a character from.
Index (int)
The 0-indexed character to retrieve from Str
.
Outputs
* (char)
The character from Str
at index Index
. If Index
is greater than or equal to the length of Str
, or if Str
is empty or null, the output will be a character with value 0
.
Examples
-
Get Character being used to retrieve a character from a string, as well as its relation to the Substring node.