UCharacter.ToString(Int32) Method

Definition

Converts argument code point and returns a String object representing the code point's value in UTF-16 format.

[Android.Runtime.Register("toString", "(I)Ljava/lang/String;", "", ApiSince=24)]
public static string? ToString (int ch);
[<Android.Runtime.Register("toString", "(I)Ljava/lang/String;", "", ApiSince=24)>]
static member ToString : int -> string

Parameters

ch
Int32

code point

Returns

string representation of the code point, null if code point is not defined in unicode

Attributes

Remarks

Converts argument code point and returns a String object representing the code point's value in UTF-16 format. The result is a string whose length is 1 for BMP code points, 2 for supplementary ones.

Up-to-date Unicode implementation of java.lang.Character.toString().

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