:navigation-title: format.crop .. include:: /Includes.rst.txt .. _typo3-fluid-format-crop: ======================================== Format.crop ViewHelper `` ======================================== .. typo3:viewhelper:: format.crop :source: ../../Global.json :display: tags,description,gitHubLink,arguments .. _typo3-fluid-format-crop-example: Examples ======== Defaults -------- :: This is some very long text ``This is...`` The third word "some" does not fit in the 10 character limit, because respectWordBoundaries is true by default. Custom suffix ------------- :: This is some very long text ``This is some [more]`` Don't respect word boundaries ----------------------------- :: This is some very long text ``This is s...`` Don't respect HTML tags ----------------------- :: This is some text with HTML tags ``This is some text with f:format.crop(maxCharacters: 10)} ``someLongText cropped after 10 characters…`` Depending on the value of ``{someLongText}``.