delphirtl

delphirtlDocs


delphirtl / Format

Function: Format()

Format(fmt, args): string

Delphi-style Format Spec: “%” [index “:”] [”-“] [width] [”.” prec] type Note that: Index, width, and precision specifiers can be specified directly, using a decimal digit string (for example “%10d”), or indirectly, using an asterisk character (for example “%.f”)

Parameters

fmt: string

args: FormatArg[]

Returns

string

(string) Formatted string

Defined in

src/sysutils.ts:547