fmt
Generated by tinox doc
tinox.core.fmt, bundled with the compiler and also available as a standalone tinox-central package.
Sprintf
import tinox.core.fmt
class Main
{
fnc main() -> Int32
{
const msg: String = Fmt::sprintf("Hello %s, you are %d years old", ["Alice", "30"])
println(msg)
Fmt::printlnf("balance: $%s (0x%x)", ["42", "255"])
return 0
}
}
class Fmt
Methods
fn sprintf(format: String, args: List<String>) → String
fn printf(format: String, args: List<String>) → Nothing
fn printlnf(format: String, args: List<String>) → Nothing