Java.Lang.Character.CodePointCount Method
Counts the number of Unicode code points in the subsequence of the specified character sequence, as delineated by beginIndex and endIndex.

Syntax

[Android.Runtime.Register("codePointCount", "(Ljava/lang/CharSequence;II)I", "")]
public static int CodePointCount (ICharSequence seq, int beginIndex, int endIndex)

Parameters

seq
the CharSequence to look through.
beginIndex
the inclusive index to begin counting at.
endIndex
the exclusive index to stop counting at.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif seq is null.
Java.Lang.IndexOutOfBoundsExceptionif beginIndex , beginIndex > endIndex or if endIndex is greater than the length of seq.

Remarks

Counts the number of Unicode code points in the subsequence of the specified character sequence, as delineated by beginIndex and endIndex. Any surrogate values with missing pair values will be counted as one code point.

[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