substr

How to Limit Characters to Display in a String using PHP

Submitted by nurhodelta_17 on
This tutorial tackles on how to limit characters to display in a string using PHP. In development, there are instance that the length of the string to be displayed is extremely long and destroys our layout. So, in order to solve this, we need to limit the characters to be displayed.