$field->short($chars)

Shortens the field content by the given length

  • return (string)

Example

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

Is something missing or incorrect? Edit this page on Github…