Home » PHP » php zendframework truncate a string function

php zendframework truncate a string function

The programmers can use this <h4>truncate function in php zend framework</h4> to limit the string length

<?php echo $mysmartcode = $this->string()->truncate(‘ i love u’, 5); ?>

Leave a Reply

x

Check Also

Export Database using codeigniter

Database Utility Class : CodeIgniter PHP script to download mysql db-codeigniter,Backup MySQL database with CodeIgniter ...