str::widont($string = '')

The widont function makes sure that there are no typographical widows at the end of a paragraph – that's a single word in the last line

  • $string (string)
  • return (string)