:navigation-title: format.substring
.. include:: /Includes.rst.txt

.. _fluidtypo3-vhs-format-substring:

====================================================
format.substring ViewHelper `<vhs:format.substring>`
====================================================


Gets a substring from a string or string-compatible value.

Also see the `<f:format.crop>` view helper.


.. _fluidtypo3-vhs-format-substring_arguments:

Arguments
=========


.. _format.substring_content:

content
-------

:aspect:`DataType`
   string

:aspect:`Required`
   false
:aspect:`Description`
   Content string to substring

.. _format.substring_start:

start
-----

:aspect:`DataType`
   integer

:aspect:`Required`
   false
:aspect:`Description`
   Positive or negative offset

.. _format.substring_length:

length
------

:aspect:`DataType`
   integer

:aspect:`Required`
   false
:aspect:`Description`
   Positive or negative length
