Fmt¶
Import: import system.text;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
Fmt¶
.NET/Python-style positional string formatting: {0}, {1}, ... substitute args[i] (via to_string), and {i:.N} additionally renders a double/float argument with exactly N fixed decimal digits. {{ / }} escape literal braces.
format¶
Substitutes every {i}/{i:spec} placeholder in pattern with args[i].