$field->short($chars)

Shortens the field content by the given length

  • return (string)

Example

<?= $page->title()->short(10) ?>