include('include/common1.php'); function myTruncate($string, $limit, $break=" ", $pad="...") { // return with no change if string is shorter than $limit if(strlen($string) <= $limit) return $string; // is $break present between $limit and the end of the string? if(false !== ($breakpoint = strpos($string, $break, $limit))) { if($breakpoint < strlen($string) - 1) { $string = substr($string, 0, 200) . $pad; } } return $string; } ?>
![]() |
![]() |
|
contact us National Institute of Open Schooling(NIOS) 6th Floor, Kerala State Housing Board Building, Panampilly Nagar, Kochi - 682 036
Phone: 0484 4035540/ 2310032 Fax: 0484 2310033, Email id : rckochi@nios.ac.in, rdkochi@nios.ac.in |
|