Checks that format string has been completely consumed