Implementation of a Formatter.format static method that mimics the builtin string.format
Formatter.format
string.format
Implementation of a static Formatter.format method that mimics the builtin string.format