keaglez

Limit string using regex with PHP

Posted on Programming and tagged with ,

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:
Read more…

Proudly powered by Wordpress