{$ContentTitle|datatype:format=rawtext{if $params['titleLength']}|substr:length={$params['titleLength']}:1{/if}}