UCharacter.GetCharFromName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
<strong>[icu]</strong>
[Android.Runtime.Register("getCharFromName", "(Ljava/lang/String;)I", "", ApiSince=24)]
public static int GetCharFromName (string? name);
[<Android.Runtime.Register("getCharFromName", "(Ljava/lang/String;)I", "", ApiSince=24)>]
static member GetCharFromName : string -> int
Parameters
- name
- String
most current Unicode character name whose code point is to be returned
Returns
code point or -1 if name is not found
- Attributes
Remarks
<strong>[icu]</strong>
Finds a Unicode code point by its most current Unicode name and return its code point value. All Unicode names are in uppercase. Note calling any methods related to code point names, e.g. getName()
incurs a one-time initialization cost to construct the name tables.
Java documentation for android.icu.lang.UCharacter.getCharFromName(java.lang.String)
.
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.