Substring (LogiX node)
Jump to navigation
Jump to search
Substring | ||
---|---|---|
Inputs | ||
String | Str | |
Int | StartIndex | |
Int | Length | |
Outputs | ||
String | * |
Substring
Usage
Inputs
Str: The input string.
StartIndex: The zero-based starting character position of a substring in Str. Negative start indices are treated as if they were 0.
Length: The number of characters in the substring. If this input is not populated, the default is the length of Str. Negative lengths are treated as if they were 0.
Outputs
*: The substring of length Length that begins at StartIndex in Str. If StartIndex+Length exceeds the bounds of the input Str, the output is truncated to the end of Str.