Method: str::excerpt

Creates an exceprt of a string
It removes all html tags first and then uses str::short

Info

Syntax

str::excerpt($string, $chars=140, $removehtml=true, $rep='…')

Parameters

Return (string)

The shortened string