String.Split Method

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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
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.
Split(array<Char>[]()[], Int32) Returns a string array that contains the substrings in this instance that are delimited by elements of a specified Unicode character array. A parameter specifies the maximum number of substrings to return.
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.
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.
Split(array<Char>[]()[], Int32, StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified Unicode character array. Parameters specify the maximum number of substrings to return and whether to return empty array elements.
Split(array<String>[]()[], Int32, StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified string array. Parameters specify the maximum number of substrings to return and whether to return empty array elements.

Top

See Also

Reference

String Class

String Members

System Namespace