String.Split String.Split Method

Definition

Overloads

Split(String) Split(String)

Splits this string using the supplied regularExpression.

Split(String, Int32) Split(String, Int32)

Splits this string using the supplied regularExpression.

Split(String) Split(String)

Splits this string using the supplied regularExpression.

[Android.Runtime.Register("split", "(Ljava/lang/String;)[Ljava/lang/String;", "")]
public string[] Split (string regex);
member this.Split : string -> string[]

Parameters

regex
String String

Returns

String[]

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

Split(String, Int32) 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);
member this.Split : string * int -> string[]

Parameters

regex
String String
limit
Int32 Int32

Returns

String[]

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