UCharacter.CodePointBefore 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| CodePointBefore(String, Int32) |
與 |
| CodePointBefore(Char[], Int32, Int32) |
與 |
| CodePointBefore(ICharSequence, Int32) |
與 |
| CodePointBefore(Char[], Int32) |
與 |
CodePointBefore(String, Int32)
與 Character#codePointBefore(CharSequence, int) 相同。
public static int CodePointBefore(string? seq, int index);
static member CodePointBefore : string * int -> int
參數
- seq
- String
需要檢查的字符
- index
- Int32
在最後一個或唯一一個字元後面的索引,該字元構成代碼點
傳回
索引前的代碼點
備註
與 Character#codePointBefore(CharSequence, int) 相同。 索引前回傳代碼點。 此程序僅檢視索引1與索引2的字元。
Java 文件 android.icu.lang.UCharacter.codePointBefore(java.lang.CharSequence, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
CodePointBefore(Char[], Int32, Int32)
與 Character#codePointBefore(char[], int, int) 相同。
[Android.Runtime.Register("codePointBefore", "([CII)I", "", ApiSince=24)]
public static int CodePointBefore(char[]? text, int index, int limit);
[<Android.Runtime.Register("codePointBefore", "([CII)I", "", ApiSince=24)>]
static member CodePointBefore : char[] * int * int -> int
參數
- text
- Char[]
需要檢查的字符
- index
- Int32
在最後一個或唯一一個字元後面的索引,該字元構成代碼點
- limit
- Int32
有效文本的開頭
傳回
索引前的代碼點
- 屬性
備註
與 Character#codePointBefore(char[], int, int) 相同。 索引前回傳代碼點。 此程序僅檢視索引1與索引2的字元。
Java 文件 android.icu.lang.UCharacter.codePointBefore(char[], int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
CodePointBefore(ICharSequence, Int32)
與 Character#codePointBefore(CharSequence, int) 相同。
[Android.Runtime.Register("codePointBefore", "(Ljava/lang/CharSequence;I)I", "", ApiSince=24)]
public static int CodePointBefore(Java.Lang.ICharSequence? seq, int index);
[<Android.Runtime.Register("codePointBefore", "(Ljava/lang/CharSequence;I)I", "", ApiSince=24)>]
static member CodePointBefore : Java.Lang.ICharSequence * int -> int
參數
- seq
- ICharSequence
需要檢查的字符
- index
- Int32
在最後一個或唯一一個字元後面的索引,該字元構成代碼點
傳回
索引前的代碼點
- 屬性
備註
與 Character#codePointBefore(CharSequence, int) 相同。 索引前回傳代碼點。 此程序僅檢視索引1與索引2的字元。
Java 文件 android.icu.lang.UCharacter.codePointBefore(java.lang.CharSequence, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
CodePointBefore(Char[], Int32)
與 Character#codePointBefore(char[], int) 相同。
[Android.Runtime.Register("codePointBefore", "([CI)I", "", ApiSince=24)]
public static int CodePointBefore(char[]? text, int index);
[<Android.Runtime.Register("codePointBefore", "([CI)I", "", ApiSince=24)>]
static member CodePointBefore : char[] * int -> int
參數
- text
- Char[]
需要檢查的字符
- index
- Int32
在最後一個或唯一一個字元後面的索引,該字元構成代碼點
傳回
索引前的代碼點
- 屬性
備註
與 Character#codePointBefore(char[], int) 相同。 在索引前回傳代碼點。 此程序僅檢視索引1與索引2的字元。
Java 文件 android.icu.lang.UCharacter.codePointBefore(char[], int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。