StringSegmentSplit(String, StringSegmentSplitOptions) Method
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public IList<StringSegment> Split(
string? separator,
StringSegmentSplitOptions options
)
Public Function Split (
separator As String,
options As StringSegmentSplitOptions
) As IList(Of StringSegment)
public:
IList<StringSegment>^ Split(
String^ separator,
StringSegmentSplitOptions options
)
member Split :
separator : string *
options : StringSegmentSplitOptions -> IList<StringSegment>
- separator String
- A string 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.