implement the size directive for %s