nl_tokens: trims end of string can trimmed back to next clean word or add suffix to end of trimmed string
pl_tokens: function prune ( str , max , nice , suf ) { max = <mask> || 140 nice = _ . isBoolean ( nice ) ? nice : false if ( ! str || max <= 0 || str . length <= max ) return str suf = suf || "..." str = str . substr ( 0 , max ) return nice ? str . substr ( 0 , Math . min ( str . length , str . lastIndexOf ( " " ) ) ) + suf : str }