StringSegmentExtensionsReadToSeparator Method

Overload List

ReadToSeparator(StringSegment, StringSegment) Advances the specified rest parameter after the next separator and returns the consumed part without the separator. If rest started with separator before the call, then an empty segment is returned. If the whole StringSegment has been processed, then rest will be StringSegment.Null after returning.
ReadToSeparator(StringSegment, StringSegment) Advances the specified rest parameter after the next separator and returns the consumed part without the separator. If rest started with one of the separators before the call, then an empty segment is returned. If the whole StringSegment has been processed, then rest will be StringSegment.Null after returning.
ReadToSeparator(StringSegment, Char) Advances the specified rest parameter after the next separator character and returns the consumed part without the separator. If the first character of rest was a separator before the call, then an empty segment is returned. If the whole StringSegment has been processed, then rest will be StringSegment.Null after returning.
ReadToSeparator(StringSegment, Char) Advances the specified rest parameter after the next separator and returns the consumed part without the separator. If rest started with one of the separators before the call, then an empty segment is returned. If the whole StringSegment has been processed, then rest will be StringSegment.Null after returning.
ReadToSeparator(StringSegment, ReadOnlySpanChar) Advances the specified rest parameter after the next separator and returns the consumed part without the separator. If rest started with separator before the call, then an empty segment is returned. If the whole StringSegment has been processed, then rest will be StringSegment.Null after returning.
ReadToSeparator(StringSegment, String) Advances the specified rest parameter after the next separator and returns the consumed part without the separator. If rest started with separator before the call, then an empty segment is returned. If the whole StringSegment has been processed, then rest will be StringSegment.Null after returning.
ReadToSeparator(StringSegment, String) Advances the specified rest parameter after the next separator and returns the consumed part without the separator. If rest started with one of the separators before the call, then an empty segment is returned. If the whole StringSegment has been processed, then rest will be StringSegment.Null after returning.

See Also