Share via


Regex.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

Splits an input string into an array of substrings at the positions defined by a regular expression match.

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(String) Splits the specified input string at the positions defined by a regular expression pattern specified in the Regex constructor.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(String, Int32) Splits the specified input string a specified maximum number of times at the positions defined by a regular expression specified in the Regex constructor.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(String, String) Splits the input string at the positions defined by a regular expression pattern.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(String, Int32, Int32) Splits the specified input string a specified maximum number of times at the positions defined by a regular expression specified in the Regex constructor. The search for the regular expression pattern starts at a specified character position in the input string.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(String, String, RegexOptions) Splits the input string at the positions defined by a specified regular expression pattern. Specified options modify the matching operation.

Top