Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: string[] Split(this string, params string[])

Declaration

public static string[] Split(
    this string str,
    params string[] separator
)

Summary

Returns a string array that contains the substrings in this string that are delimited by elements of a specified string array.

Parameters

this stringstr String to be split.
string[]separator Strings that delimit the substrings in this string.

Returns

An array whose elements contain the substrings in this string that are delimited by one or more strings in separator. For more information, see the Remarks section.