Truncates string to length, breaking at word boundaries
String to truncate
Maximum length
String to append if truncated
Truncated string
Truncates string to length, breaking at word boundaries