[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Character operation.
Source position: character.pas line 87
type TCharacter = class |
||
public |
||
const |
||
MaxHighSurrogate = UnicodeChar(HIGH_SURROGATE_END) |
||
MaxLowSurrogate = UnicodeChar(LOW_SURROGATE_END) |
||
MaxSurrogate = UnicodeChar(LOW_SURROGATE_END) |
||
MinHighSurrogate = UnicodeChar(HIGH_SURROGATE_BEGIN) |
||
MinLowSurrogate = UnicodeChar(LOW_SURROGATE_BEGIN) |
||
MinSurrogate = UnicodeChar(HIGH_SURROGATE_BEGIN) |
||
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. |
class function MaxCodePoint; |
||
class function UnicodeDataVersion; |
||
class function IsDefined(); |
||
end; |
|
Character operation. |
|
| | ||
TObject |
|
Base class of all classes. |
TCharacter is provided for Delphi compatibility. All it's class functions and methods are also available as regular functions.