Hướng dẫn dùng char.issymbol trong PHP
Skip to main content This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Char.IsSymbol Method
DefinitionIndicates whether a Unicode character is categorized as a symbol character. In this articleOverloads
ExamplesThe following code example demonstrates IsSymbol.
RemarksValid symbols are members of the following categories in
UnicodeCategory: Symbols in the Unicode standard are a loosely defined set of characters that include the following:
IsSymbol(Char)Indicates whether the specified Unicode character is categorized as a symbol character.
Parametersc Char The Unicode character to evaluate. ReturnsBoolean
RemarksValid symbols are members of the following categories in UnicodeCategory: Symbols in the Unicode standard are a loosely defined set of characters that include the following:
See also
Applies toIsSymbol(String, Int32)Indicates whether the character at the specified position in a specified string is categorized as a symbol character.
Parametersindex Int32 The position of the character to evaluate in ReturnsBoolean
Exceptions
RemarksCharacter positions in a string are indexed starting from zero. Valid symbols are members of the following categories in
System.Globalization.UnicodeCategory: Symbols in the Unicode standard are a loosely defined set of characters that include the following:
See also
Applies to |