The source string to search within.
The starting delimiter string.
The ending delimiter string.
The maximum number of matches to find. If set to -1, all matches are returned. Defaults to -1.
The index in the source string to start searching from. Defaults to 0.
An array of StringPosition
objects representing the positions of substrings found between the delimiters.
start
and end
.StringPosition
contains the start and end indices of the found substring, as well as the substring itself in the RelatedString
property.
Finds all substrings in the given string that are located between the specified start and end delimiters.