std_format
std_format
std_format is an implementation of string formatting with curly braces ({})
fetch(std_format);
obj my_string = format("Hello, {}!", "George");
bark(my_string); # output: Hello, George!
Formats the specified str with the value inside. value is converted to a string via the tostring function meaning any type can be passed to the value argument.
obj example = format("Testing {}", 123);
bark(example);