FluidTYPO3\Vhs\ViewHelpers\Format\SubstringViewHelper::render PHP Method

render() public method

Substrings a string or string-compatible value
public render ( string $content = null, integer $start, integer $length = null ) : string
$content string Content string to substring
$start integer Positive or negative offset
$length integer Positive or negative length
return string
    public function render($content = null, $start = 0, $length = null)
    {
        if (null === $content) {
            $content = $this->renderChildren();
        }
        if (null !== $length) {
            return substr($content, $start, $length);
        }
        return substr($content, $start);
    }
SubstringViewHelper