|
|
|
|
 |
|
 |
 |
 |
Truncate function
|
|
|
Hits: 125
Truncate function
 5.0
Usage is
truncate("$text", "#");
Example
$text = "I am browsing hotscripts.com";
truncate("$text", "10");
Would return
I am brows...
$text = "I am browsin";
truncate("$text", "10");
Would return
I am browsin
use
include("./path/to/function.truncate.php");
somewhere on your page.
Platform(s): n/a
Date: Dec, 09 2003
Author: http://www.acecoolco.com
Ratings
Number of Ratings: 100 Votes
| 5 |
|
| 69% |
| 4 |
| 31%
|
| 3 |
| 0%
|
| 2 |
| 0%
|
| 1 |
| 0%
|
|
|
Others Scripts
PHP/Tips and Tutorials/Database-Related
PHP/Tips and Tutorials/File Manipulation
PHP/Tips and Tutorials/Introduction to PHP
PHP/Tips and Tutorials/Miscellaneous
PHP/Tips and Tutorials/File Manipulation
PHP/Tips and Tutorials/Miscellaneous
PHP/Tips and Tutorials/File Manipulation
PHP/Tips and Tutorials/User Authentication
PHP/Tips and Tutorials/Form Processing
PHP/Software and Servers/Software
PHP/Tips and Tutorials/Form Processing
PHP/Tips and Tutorials/File Manipulation
PHP/Tips and Tutorials/Miscellaneous
PHP/Tips and Tutorials/Link Indexing
Software/Business/PIMS & Calendars
|
|
|
 |
 |
|
 |
|
 |
|