sunslayer commented on a Page, Truncation  -  Jan 20, 2011
unset($n[$count($n)-1]);

should be

unset($n[count($n)-1]);

you also have two ;'s on the following line

also if there are no spaces then this will only return '...'

if(count($n)>1) unset($n[count($n)-1]);
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.