UCharacter.CodePointCount Method

Definition

Overloads

CodePointCount(ICharSequence, Int32, Int32)

Equivalent to the Character#codePointCount(CharSequence, int, int) method, for convenience.

CodePointCount(Char[], Int32, Int32)

Equivalent to the Character#codePointCount(char[], int, int) method, for convenience.

CodePointCount(String, Int32, Int32)

Equivalent to the Character#codePointCount(CharSequence, int, int) method, for convenience.

CodePointCount(ICharSequence, Int32, Int32)

Equivalent to the Character#codePointCount(CharSequence, int, int) method, for convenience.

[Android.Runtime.Register("codePointCount", "(Ljava/lang/CharSequence;II)I", "", ApiSince=24)]
public static int CodePointCount (Java.Lang.ICharSequence? text, int start, int limit);
[<Android.Runtime.Register("codePointCount", "(Ljava/lang/CharSequence;II)I", "", ApiSince=24)>]
static member CodePointCount : Java.Lang.ICharSequence * int * int -> int

Parameters

text
ICharSequence

the characters to check

start
Int32

the start of the range

limit
Int32

the limit of the range

Returns

the number of code points in the range

Attributes

Remarks

Equivalent to the Character#codePointCount(CharSequence, int, int) method, for convenience. Counts the number of code points in the range of text.

Java documentation for android.icu.lang.UCharacter.codePointCount(java.lang.CharSequence, int, int).

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

CodePointCount(Char[], Int32, Int32)

Equivalent to the Character#codePointCount(char[], int, int) method, for convenience.

[Android.Runtime.Register("codePointCount", "([CII)I", "", ApiSince=24)]
public static int CodePointCount (char[]? text, int start, int limit);
[<Android.Runtime.Register("codePointCount", "([CII)I", "", ApiSince=24)>]
static member CodePointCount : char[] * int * int -> int

Parameters

text
Char[]

the characters to check

start
Int32

the start of the range

limit
Int32

the limit of the range

Returns

the number of code points in the range

Attributes

Remarks

Equivalent to the Character#codePointCount(char[], int, int) method, for convenience. Counts the number of code points in the range of text.

Java documentation for android.icu.lang.UCharacter.codePointCount(char[], int, int).

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

CodePointCount(String, Int32, Int32)

Equivalent to the Character#codePointCount(CharSequence, int, int) method, for convenience.

public static int CodePointCount (string? text, int start, int limit);
static member CodePointCount : string * int * int -> int

Parameters

text
String

the characters to check

start
Int32

the start of the range

limit
Int32

the limit of the range

Returns

the number of code points in the range

Remarks

Equivalent to the Character#codePointCount(CharSequence, int, int) method, for convenience. Counts the number of code points in the range of text.

Java documentation for android.icu.lang.UCharacter.codePointCount(java.lang.CharSequence, int, int).

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