Hello, I'm looking for a simple script which can truncate a TEXT with DOTS (...) I did a search, but in vain. Any examples would be helpful. Thanks, CC.
<?php $content = "My name is shila."; $filter = "name"; str_replace($filter,"...",$content); ?> output: My ... is shila.
This article should get you started: http://www.electrictoolbox.com/ellipsis-html-css/ Otherwise just google search for ellipsis html css Btw., that php script is not useful for this purpose.