Truncate text to specified character limit without cutting word
Self explanatory function to get limited text from long paragraph. function limit_text($mystring, $no_of_chars, $append_text) { //Varaible definition //$mystring -> Text string that need to be process //$no_of_chars -> Number of character to be display //$append_text -> Append text at the end of truncated text to show more to read. //like…continue reading →
Recent Comments