views:

65

answers:

0

Is there a method one can filter output string in two ways at once:

  • divide long words into parts (but not like in truncate where the truncated part is not visible, but it should be separated with let's say empty space)
  • change text links into clickable links

Let's say we have string like this :

"IamareallylongwordandsoIneedToBeSplit http://iamsomerandomlink.com"

I'd like to get

"Iamsomereally longwordand soINeedTobe Split http://iamsome..."

Will this work in this way ?

value|wordwrap|urlizetrunc:20

?