Java.Lang.String.Split Method
Splits this string using the supplied regularExpression.

Syntax

[Android.Runtime.Register("split", "(Ljava/lang/String;)[Ljava/lang/String;", "")]
public string[] Split (string expr)

See Also

Java.Util.Regex.Pattern

Parameters

regularExpression
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif regularExpression == null
!:NoType:if the syntax of the supplied regular expression is not valid.

Remarks

Splits this string using the supplied regularExpression. Equivalent to split(regularExpression, 0). See Java.Util.Regex.Pattern.Split(ICharSequence, System.Int32) for an explanation of limit. See Java.Util.Regex.Pattern for regular expression syntax.

If the same regular expression is to be used for multiple operations, it may be more efficient to reuse a compiled Pattern.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1