replacing string format impl