Archive for October, 2010

Trimming Strings in PHP

Suppose you have a 10 pixels post header and had a post title “Supercalifragilisticexpialidocious” … the clever monkey in your head will soon realise that you cannot unscrew anything with a rubber hammer. You need a new tool. Here it is: a function to trim a string and append a little bit extra on the [...]

Continue reading » No comments