UnicodeFmtStr

Format a string with given arguments, procedural version.

Declaration

Source position: sysunih.inc line 35

  procedure UnicodeFmtStr(var Res: UnicodeString; 
                         const Fmt: UnicodeString; 
                         const args: Array of const);
  procedure UnicodeFmtStr(var Res: UnicodeString; 
                         const Fmt: UnicodeString; 
                         const args: Array of const; 
                         const FormatSettings: TFormatSettings);

Description

UnicodeFmtStr calls UnicodeFormat with Fmt and Args as arguments, and stores the result in Res. For more information on how the resulting string is composed, see UnicodeFormat .

Errors

In case of error, an EConvertError exception is raised.

See also

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