I am building a block for my CMS that will list the top 10 weblinks and downloads. it displays its rank, title, and the # of times it has been visited/downloaded now here is the issue.
Sometimes there are going to be titles of links/ downloads that can not be completly displayed or they will strech the page, I am trying to figur out how I can count the characters in each title, and cut it off at a point and replace the remainder with lets say "..."; Any ideas on how to do this?