namespace sys.core.i18n
class UnicodeCategory
An enum used to describe the category of a Unicode codepoint.
this FromAbbr{s: String};
Constructs a new instance from a string abbreviation.
s | an abbreviation |
---|
func ToAbbr(): String;
Converts the current instance to a string abbreviation.
the abbreviation
property IsLetter: Bool; get;
Returns true if the the current instance represents a letter.
property IsCasesLetter: Bool; get;
Returns true if the the current instance represents a lower/upper/title-case letter.
property IsMark: Bool; get;
Returns true if the the current instance represents a mark.
property IsNumber: Bool; get;
Returns true if the the current instance represents a number.
property IsPunctuation: Bool; get;
Returns true if the the current instance represents punctuation.
property IsSymbol: Bool; get;
Returns true if the the current instance represents a symbol.
property IsSeparator: Bool; get;
Returns true if the the current instance represents a separator.
property IsOther: Bool; get;
Returns true if the the current instance represents an "other" type of character.
const Uppercase_Letter;
Enum entry for "Uppercase_Letter Unicode" category.
const Lowercase_Letter;
Enum entry for "Lowercase_Letter" Unicode category.
const Titlecase_Letter;
Enum entry for "Titlecase_Letter" Unicode category.
const Modifier_Letter;
Enum entry for "Modifier_Letter" Unicode category.
const Other_Letter;
Enum entry for "Other_Letter" Unicode category.
const Nonspacing_Mark;
Enum entry for "Nonspacing_Mark" Unicode category.
const Spacing_Mark;
Enum entry for "Spacing_Mark" Unicode category.
const Enclosing_Mark;
Enum entry for "Enclosing_Mark" Unicode category.
const Decimal_Number;
Enum entry for "Decimal_Number" Unicode category.
const Letter_Number;
Enum entry for "Letter_Number" Unicode category.
const Other_Number;
Enum entry for "Other_Number" Unicode category.
const Connector_Punctuation;
Enum entry for "Connector_Punctuation" Unicode category.
const Dash_Punctuation;
Enum entry for "Dash_Punctuation" Unicode category.
const Open_Punctuation;
Enum entry for "Open_Punctuation" Unicode category.
const Close_Punctuation;
Enum entry for "Close_Punctuation" Unicode category.
const Initial_Punctuation;
Enum entry for "Initial_Punctuation" Unicode category.
const Final_Punctuation;
Enum entry for "Final_Punctuation" Unicode category.
const Other_Punctuation;
Enum entry for "Other_Punctuation" Unicode category.
const Math_Symbol;
Enum entry for "Math_Symbol" Unicode category.
const Currency_Symbol;
Enum entry for "Currency_Symbol" Unicode category.
const Modifier_Symbol;
Enum entry for "Modifier_Symbol" Unicode category.
const Other_Symbol;
Enum entry for "Other_Symbol" Unicode category.
const Space_Separator;
Enum entry for "Space_Separator" Unicode category.
const Line_Separator;
Enum entry for "Line_Separator" Unicode category.
const Paragraph_Separator;
Enum entry for "Paragraph_Separator" Unicode category.
const Control;
Enum entry for "Control" Unicode category.
const Format;
Enum entry for "Format" Unicode category.
const Surrogate;
Enum entry for "Surrogate" Unicode category.
const Private_Use;
Enum entry for "Private_Use" Unicode category.
const Unassigned;
Enum entry for "Unassigned" Unicode category.
const Invalid;
Enum entry for an invalid Unicode category.