Php File-dir Scripts
Free Script Image UploadPhp Scripts
Free Script 8 Ball MagicJava Scripts
Free Script ValidationCountry Information
Free Script time difference to GMT UTCTruncate string script is used to truncate a long string to a particular length, and replace the truncated characters with a custom placeholder.
Type Text :
PHP Hypertext Preprocessor is a web development dynamic web scripting programing language which can embedded into the HTML and interacts with databases.
Type Number :
25
if you need to truncate string function code you will copy and use to your website.
In the above code is used to truncate a long sentance.Three parameters pass to truncateString() function. First arguments is $str. which is used to assign string. The second argument is used to truncate sentance. Here 20 is default.
Third argument is $holder. The strlen() function if greater than Max character substr will be execute otherwise string will be return.
In the above form is used to Truncate String Script.when click in the Cut button form will pass the string through POST method.
If you need to Truncate String Script click and download from following link.
|
Tweet |
|
|