Freigeben über


UCharacter.CodePointBefore Method

Definition

Overloads

CodePointBefore(String, Int32)

Same as Character#codePointBefore(CharSequence, int).

CodePointBefore(Char[], Int32, Int32)

Same as Character#codePointBefore(char[], int, int).

CodePointBefore(ICharSequence, Int32)

Same as Character#codePointBefore(CharSequence, int).

CodePointBefore(Char[], Int32)

Same as Character#codePointBefore(char[], int).

CodePointBefore(String, Int32)

Same as Character#codePointBefore(CharSequence, int).

public static int CodePointBefore (string? seq, int index);
static member CodePointBefore : string * int -> int

Parameters

seq
String

the characters to check

index
Int32

the index after the last or only char forming the code point

Returns

the code point before the index

Remarks

Same as Character#codePointBefore(CharSequence, int). Return the code point before index. This examines only the characters at index-1 and index-2.

Java documentation for android.icu.lang.UCharacter.codePointBefore(java.lang.CharSequence, 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

CodePointBefore(Char[], Int32, Int32)

Same as 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

Parameters

text
Char[]

the characters to check

index
Int32

the index after the last or only char forming the code point

limit
Int32

the start of the valid text

Returns

the code point before the index

Attributes

Remarks

Same as Character#codePointBefore(char[], int, int). Return the code point before index. This examines only the characters at index-1 and index-2.

Java documentation for android.icu.lang.UCharacter.codePointBefore(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

CodePointBefore(ICharSequence, Int32)

Same as 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

Parameters

seq
ICharSequence

the characters to check

index
Int32

the index after the last or only char forming the code point

Returns

the code point before the index

Attributes

Remarks

Same as Character#codePointBefore(CharSequence, int). Return the code point before index. This examines only the characters at index-1 and index-2.

Java documentation for android.icu.lang.UCharacter.codePointBefore(java.lang.CharSequence, 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

CodePointBefore(Char[], Int32)

Same as 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

Parameters

text
Char[]

the characters to check

index
Int32

the index after the last or only char forming the code point

Returns

the code point before the index

Attributes

Remarks

Same as Character#codePointBefore(char[], int). Returns the code point before index. This examines only the characters at index-1 and index-2.

Java documentation for android.icu.lang.UCharacter.codePointBefore(char[], 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