[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'character' (#rtl)

TUnicodeCategory

Unicode code point (character) category

Declaration

Source position: character.pas line 33

type TUnicodeCategory = (

  ucUppercaseLetter,

  

Letter, uppercase (Lu)

  ucLowercaseLetter,

  

Letter, lowercase (Ll)

  ucTitlecaseLetter,

  

Letter, titlecase (Lt)

  ucModifierLetter,

  

Letter, modifier (Lm)

  ucOtherLetter,

  

Letter, other (Lo)

  ucNonSpacingMark,

  

Mark, nonspacing (Mn)

  ucCombiningMark,

  

Mark, spacing combining (Mc)

  ucEnclosingMark,

  

Mark, enclosing (Me)

  ucDecimalNumber,

  

Number, decimal digit (Nd)

  ucLetterNumber,

  

Number, letter (Nl)

  ucOtherNumber,

  

Number, other (No)

  ucConnectPunctuation,

  

Punctuation, connector (Pc)

  ucDashPunctuation,

  

Punctuation, dash (Pd)

  ucOpenPunctuation,

  

Punctuation, open (Ps)

  ucClosePunctuation,

  

Punctuation, close (Pe)

  ucInitialPunctuation,

  

Punctuation, initial quote (Pi, may behave like Ps or Pe depending on usage)

  ucFinalPunctuation,

  

Punctuation, final quote (Pf, may behave like Ps or Pe depending on usage)

  ucOtherPunctuation,

  

Punctuation, other (Po)

  ucMathSymbol,

  

Symbol, math (Sm)

  ucCurrencySymbol,

  

Symbol, currency (Sc)

  ucModifierSymbol,

  

Symbol, modifier (Sk)

  ucOtherSymbol,

  

Symbol, other (So)

  ucSpaceSeparator,

  

Separator, space (Zs)

  ucLineSeparator,

  

Separator, line (Zl)

  ucParagraphSeparator,

  

Separator, paragraph (Zp)

  ucControl,

  

Other, control (Cc)

  ucFormat,

  

Other, format (Cf)

  ucSurrogate,

  

Other, surrogate (Cs)

  ucPrivateUse,

  

Other, private use (Co)

  ucUnassigned

  

Other, not assigned (including noncharacters) (Cn)

);

Description

This enumeration type contains the characterization of all possible unicode characters. It is used in the GetUnicodeCategory and TCharacter.GetUnicodeCategory functions.

See also

GetUnicodeCategory

  

Alias for TCharacter.GetUnicodeCategory

TCharacter.GetUnicodeCategory

  

Get the unicode category of a character


Documentation generated on: Nov 16 2015