다음을 통해 공유


Character.ToString Method

Definition

Overloads

ToString(Int32)

Returns a String object representing the specified character (Unicode code point).

ToString(Char)

Returns a String object representing the specified char.

ToString(Int32)

Returns a String object representing the specified character (Unicode code point).

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

Parameters

codePoint
Int32

the codePoint to be converted

Returns

the string representation of the specified codePoint

Attributes

Remarks

Returns a String object representing the specified character (Unicode code point). The result is a string of length 1 or 2, consisting solely of the specified codePoint.

Added in 11.

Java documentation for java.lang.Character.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

ToString(Char)

Returns a String object representing the specified char.

[Android.Runtime.Register("toString", "(C)Ljava/lang/String;", "")]
public static string ToString (char c);
[<Android.Runtime.Register("toString", "(C)Ljava/lang/String;", "")>]
static member ToString : char -> string

Parameters

c
Char

the char to be converted

Returns

the string representation of the specified char

Attributes

Remarks

Returns a String object representing the specified char. The result is a string of length 1 consisting solely of the specified char.

Added in 1.4.

Java documentation for java.lang.Character.toString(char).

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