set a variable to the format string and use it instead of checking the offset radix and selecting a format each time a string is found.