Skip to content

Deltics.Strings

Jolyon Smith edited this page Nov 14, 2013 · 1 revision

The Strings unit provides support for common string operations in a manner that enables code to be written that will reliably migrate between different versions of Delphi regardless of whether the compiler assumes the native string type to be Unicode or ANSI.

The unit declares the following string and character types:

Type               as                    Versions (all if not specified)
------------------------------------------------------------------------
ASCIIString       type ANSIString
UTF8String        type ANSISTRING         Delphi 7 - 2007
UnicodeString     type WideString         Delphi 7 - 2007
    
ASCIIChar         type ANSIChar
UTF8Char          type ANSIChar

PASCIIChar        ^ASCIIChar
PUTF8Char         ^UTF8Char
Clone this wiki locally