Community ProtoFlux Library/AmasterAmaster/Strings/Parsing/Get String List Item

From Resonite Wiki
This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Get String List Item
String
SegmentWithLength
Separator
SegmentWithStartIndex
StartIndex
IndexOfString +1
Offset
IndexOfString +0
SearchFromEnd
IndexOfString -1
Amaster's String Library

The Get String List Item node takes in the string and separator along with start index and offsets provided. The node will return the string segments with length and start index values, as well as the index of string to be used to chain off this node with either itself or with a Substring or String Remove and a Index Of String.

Inputs

String (String)

The string to search through.

Separator (String)

The separator this string list uses.

StartIndex (int)

The starting index to start on this string.

Offset (int)

The offset for the string when finding the list item.

SearchFromEnd (bool)

Searches the list from the end instead.

Outputs

SegmentWithLength (String)

The string segment using the length.

SegmentWithStartIndex (String)

The string segment using the start index.

IndexOfString +1 (int)

The location on the string found (plus an offset of +1).

IndexOfString +0 (int)

The location on the string found (plus an offset of +0).

IndexOfString -1 (int)

The location on the string found (plus an offset of -1).