IReplaceable.Char32At(Int32) Method

Definition

Returns the 32-bit code point at the given 16-bit offset into the text.

[Android.Runtime.Register("char32At", "(I)I", "GetChar32At_IHandler:Android.Icu.Text.IReplaceableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public int Char32At (int offset);
[<Android.Runtime.Register("char32At", "(I)I", "GetChar32At_IHandler:Android.Icu.Text.IReplaceableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Char32At : int -> int

Parameters

offset
Int32

an integer between 0 and length()-1 inclusive

Returns

32-bit code point of text at given offset

Attributes

Remarks

Returns the 32-bit code point at the given 16-bit offset into the text. This assumes the text is stored as 16-bit code units with surrogate pairs intermixed. If the offset of a leading or trailing code unit of a surrogate pair is given, return the code point of the surrogate pair.

Most subclasses can return android.icu.text.UTF16.charAt(this, offset).

Java documentation for android.icu.text.Replaceable.char32At(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