Ellipsizes a string at the nearest whitespace character near the end of allowed length