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

TCharacter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Character operation

Declaration

Source position: character.pas line 78

type TCharacter = class

public

  constructor Create;

  

Constructor (do not call)

  class function ConvertFromUtf32();

  

Convert a UTF32 character to UnicodeString

  class function ConvertToUtf32();

  

Convert a UTF16 character to a UTF32 character

  class function GetNumericValue();

  

Get the numeric value of the character

  class function GetUnicodeCategory();

  

Get the Unicode category of a character

  class function IsControl();

  

Check whether a Unicode character is a Unicode control character

  class function IsDigit();

  

Check whether a Unicode character is a digit

  class function IsSurrogate();

  

Check whether a Unicode character is a surrogate

  class function IsHighSurrogate();

  

Check whether a Unicode character is a surrogate in the high range

  class function IsLowSurrogate();

  

Check whether a Unicode character is a surrogate in the low range

  class function IsSurrogatePair();

  

Check if a pair of characters is a set of high/low surrogate characters

  class function IsLetter();

  

Check if a Unicode character is a letter.

  class function IsLetterOrDigit();

  

Check if a Unicode character is a letter or digit

  class function IsLower();

  

Check if a Unicode character is a lowercase letter

  class function IsNumber();

  

Check if a Unicode character is a number

  class function IsPunctuation();

  

Check if a Unicode character is a punctuation character

  class function IsSeparator();

  

Check if a Unicode character is a separator character

  class function IsSymbol();

  

Check if a Unicode character is a symbol character

  class function IsUpper();

  

Check whether a Unicode character is an uppercase letter

  class function IsWhiteSpace();

  

Check whether a Unicode character is a whitespace character

  class function ToLower();

  

Convert a character or string to lowercase

  class function ToUpper();

  

Convert a character or string to uppercase

end;

Inheritance

TCharacter

  

Character operation

|

TObject

Description

TCharacter is provided for Delphi compatibility. All it's class functions and methods are also available as regular functions.


Documentation generated on: May 14 2021