Character.IsUnicodeIdentifierStart Method

Definition

Overloads

IsUnicodeIdentifierStart(Char)

Determines if the specified character is permissible as the first character in a Unicode identifier.

IsUnicodeIdentifierStart(Int32)

Determines if the specified character (Unicode code point) is permissible as the first character in a Unicode identifier.

IsUnicodeIdentifierStart(Char)

Determines if the specified character is permissible as the first character in a Unicode identifier.

[Android.Runtime.Register("isUnicodeIdentifierStart", "(C)Z", "")]
public static bool IsUnicodeIdentifierStart (char ch);
[<Android.Runtime.Register("isUnicodeIdentifierStart", "(C)Z", "")>]
static member IsUnicodeIdentifierStart : char -> bool

Parameters

ch
Char

the character to be tested.

Returns

true if the character may start a Unicode identifier; false otherwise.

Attributes

Remarks

Determines if the specified character is permissible as the first character in a Unicode identifier.

A character may start a Unicode identifier if and only if one of the following conditions is true: <ul> <li> #isLetter(char) isLetter(ch) returns true<li> #getType(char) getType(ch) returns LETTER_NUMBER. <li> it is an Other_ID_Starthttp://www.unicode.org/reports/tr44/#Other_ID_Start character. </ul>

This method conforms to UAX31-R1: Default Identifiers requirement of the Unicode Standard, with the following profile of UAX31:

Start := ID_Start + 'VERTICAL TILDE' (U+2E2F)

'VERTICAL TILDE' is added to Start for backward compatibility.

<b>Note:</b> This method cannot handle supplementary characters. To support all Unicode characters, including supplementary characters, use the #isUnicodeIdentifierStart(int) method.

Added in 1.1.

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

IsUnicodeIdentifierStart(Int32)

Determines if the specified character (Unicode code point) is permissible as the first character in a Unicode identifier.

[Android.Runtime.Register("isUnicodeIdentifierStart", "(I)Z", "")]
public static bool IsUnicodeIdentifierStart (int codePoint);
[<Android.Runtime.Register("isUnicodeIdentifierStart", "(I)Z", "")>]
static member IsUnicodeIdentifierStart : int -> bool

Parameters

codePoint
Int32

the character (Unicode code point) to be tested.

Returns

true if the character may start a Unicode identifier; false otherwise.

Attributes

Remarks

Determines if the specified character (Unicode code point) is permissible as the first character in a Unicode identifier.

A character may start a Unicode identifier if and only if one of the following conditions is true: <ul> <li> #isLetter(int) isLetter(codePoint) returns true<li> #getType(int) getType(codePoint) returns LETTER_NUMBER. <li> it is an Other_ID_Starthttp://www.unicode.org/reports/tr44/#Other_ID_Start character. </ul>

This method conforms to UAX31-R1: Default Identifiers requirement of the Unicode Standard, with the following profile of UAX31:

Start := ID_Start + 'VERTICAL TILDE' (U+2E2F)

'VERTICAL TILDE' is added to Start for backward compatibility.

Added in 1.5.

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