How to display limited characters?

To display limited characters from database or from string there is a ready made function available in php it is called – substr ( string string, int start [, int length])


Out put will be – phpmind

Share

Leave a Reply

Your email address will not be published. Required fields are marked *