語言

UCharacter.CodePointCount 方法

定義

多載

名稱 Description
CodePointCount(ICharSequence, Int32, Int32)

為了方便,這和這個 Character#codePointCount(CharSequence, int, int) 方法相當。

CodePointCount(Char[], Int32, Int32)

為了方便,這和這個 Character#codePointCount(char[], int, int) 方法相當。

CodePointCount(String, Int32, Int32)

為了方便,這和這個 Character#codePointCount(CharSequence, int, int) 方法相當。

CodePointCount(ICharSequence, Int32, Int32)

為了方便,這和這個 Character#codePointCount(CharSequence, int, int) 方法相當。

[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

參數

text
ICharSequence

需要檢查的字符

start
Int32

山脈的起點

limit
Int32

範圍的極限

傳回

範圍中的碼點數

屬性

備註

為了方便,這和這個 Character#codePointCount(CharSequence, int, int) 方法相當。 計算文字範圍內的碼點數。

Java 文件 android.icu.lang.UCharacter.codePointCount(java.lang.CharSequence, int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

CodePointCount(Char[], Int32, Int32)

為了方便,這和這個 Character#codePointCount(char[], int, int) 方法相當。

[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

參數

text
Char[]

需要檢查的字符

start
Int32

山脈的起點

limit
Int32

範圍的極限

傳回

範圍中的碼點數

屬性

備註

為了方便,這和這個 Character#codePointCount(char[], int, int) 方法相當。 計算文字範圍內的碼點數。

Java 文件 android.icu.lang.UCharacter.codePointCount(char[], int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

CodePointCount(String, Int32, Int32)

為了方便,這和這個 Character#codePointCount(CharSequence, int, int) 方法相當。

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

參數

text
String

需要檢查的字符

start
Int32

山脈的起點

limit
Int32

範圍的極限

傳回

範圍中的碼點數

備註

為了方便,這和這個 Character#codePointCount(CharSequence, int, int) 方法相當。 計算文字範圍內的碼點數。

Java 文件 android.icu.lang.UCharacter.codePointCount(java.lang.CharSequence, int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於