Handling %s format strings