code: function(str, length, from, ellipsis) {
      return truncateString(str, length, from, ellipsis, true);
    }
docs: *
  @method truncateOnWord(length, [from] = 'right', [ellipsis] = '...')
  @returns String
  @short Truncates a string without splitting up words.
  @extra [from] can be `'right'`, `'left'`, or `'middle'`. If the string is
  shorter than `length`, [ellipsis] will not be added. A "word" is
  defined as any sequence of non-whitespace characters.
  
  @example
  
  'here we go'.truncateOnWord(5)         -> 'here...'
  'here we go'.truncateOnWord(5, 'left') -> '...we go'
  
  @param {number} length
  @param {string} [from]
  @param {string} [ellipsis]
  
  *