$field->excerpt()
Creates an excerpt of the field value without html or any other formatting.
$field->excerpt(int $chars = 0, bool $strip = true, string $rep = ' …'): Kirby\Cms\Field
Parameters
Name | Type | Default | Description |
---|---|---|---|
$chars |
int |
||
$strip |
bool |
true |
|
$rep |
string |
' …' |