I was wondering how you would show only the first "x" characters of a post, as a preview. Sort of like what StackOverflow does when they show there list of questions.
The quick brown fox jumps over the lazy dog
goes to
The quick brown fox jumps...
I dont want to split up a word in the middle. I was thinking the explode function splitting up at every space , explode(" ", $post), but I wasnt too sure if there was another way or not. Thanks