Sometime, we want to limit our string to display only few from the whole string. For example, in the homepage. This can be archieved easily using the default substr function. The example of the usage to limit to 25 characters:
Sometime, we want to limit our string to display only few from the whole string. For example, in the homepage. This can be archieved easily using the default substr function. The example of the usage to limit to 25 characters: