Solution to the string-format (sort of)