StringSegmentSplit(StringSegment, StringSegmentSplitOptions) Method
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public IList<StringSegment> Split(
StringSegment separator,
StringSegmentSplitOptions options
)
Public Function Split (
separator As StringSegment,
options As StringSegmentSplitOptions
) As IList(Of StringSegment)
public:
IList<StringSegment>^ Split(
StringSegment separator,
StringSegmentSplitOptions options
)
member Split :
separator : StringSegment *
options : StringSegmentSplitOptions -> IList<StringSegment>
- separator StringSegment
- A StringSegment that delimits the segments in this StringSegment. If or empty, then no splitting will occur.
- options StringSegmentSplitOptions
- A StringSegmentSplitOptions value that specifies whether to trim segments and remove empty entries.
IListStringSegmentA list of
StringSegment instances, whose elements contain the substrings in this
StringSegment that are
delimited by
separator.