Magento 2 You can truncate the string using Magento best practice.
By default, You can truncate the string using substr() PHP method.
Magento gives Out of the box feature for a truncate string using Magento\Framework\Stdlib\StringUtils class. Continue reading “Magento 2 truncate string to specific limit.”