String.Split Method

Definition

Overloads

Split(String)

Splits this string using the supplied regularExpression.

Split(String, Int32)

Splits this string using the supplied regularExpression.

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.

Applies to