Skip to content

UnicodeFormat

Format Unicode string.

Declaration

Source position: sysunih.inc line 32

function UnicodeFormat(const Fmt: UnicodeString; 
                      const Args: Array of const) : UnicodeString;
function UnicodeFormat(const Fmt: UnicodeString; 
                      const Args: Array of const; 
                      const FormatSettings: TFormatSettings)
                       : UnicodeString;

Description

UnicodeFormat is the Unicode equivalent of Format. It follows the same rules and uses the same formatting strings.

Errors

In case of error, an EConvertError exception is raised.

See also

Name Description
Format Format a string with given arguments.
UnicodeFormatBuf Format a Unicode string with given arguments and store the result in a unicodebuffer.