truncate white space

Truncate a string at a certain length, using the closest whitespace character.

Usage

use