How to limit text(string) display in php

In several situations, the need arises to limit the number of characters to be displayed from a string in php. In this post we will see perhaps the easiest way to do this, using the mb_strimwidth function. To use the mb_strimwidth function we pass 4 parameters: the string to be delimited; the starting character position; … Continue reading How to limit text(string) display in php