[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 surrorgate 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: Sep 28 2017