Condividi tramite


String.Split Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(array<Char[]) Returns a string array that contains the substrings in this instance that are delimited by elements of a specified Unicode character array.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(array<Char[], StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified Unicode character array. A parameter specifies whether to return empty array elements.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(array<String[], StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified string array. A parameter specifies whether to return empty array elements.

Top

See Also

Reference