String.Split Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Split(String) |
Splits this string using the supplied |
| Split(String, Int32) |
Splits this string using the supplied |
Split(String)
Splits this string using the supplied regularExpression.
[Android.Runtime.Register("split", "(Ljava/lang/String;)[Ljava/lang/String;", "")]
public string[] Split (string regex);
[<Android.Runtime.Register("split", "(Ljava/lang/String;)[Ljava/lang/String;", "")>]
member this.Split : string -> string[]
Parameters
- regex
- String
Returns
- String[]
- Attributes
Exceptions
if regularExpression == null
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
See also
Applies to
Split(String, Int32)
Splits this string using the supplied regularExpression.
[Android.Runtime.Register("split", "(Ljava/lang/String;I)[Ljava/lang/String;", "")]
public string[] Split (string regex, int limit);
[<Android.Runtime.Register("split", "(Ljava/lang/String;I)[Ljava/lang/String;", "")>]
member this.Split : string * int -> string[]
Parameters
- regex
- String
- limit
- Int32
Returns
- String[]
- Attributes
Exceptions
if regularExpression == null
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.