$field->short($chars)

Shortens the field content by the given length

  • return (string)

Example

<?php echo $page->title()->short(10) ?>