We have to use the below syntax if we need to truncate the string from .phtml file