$pos && $npos < $len ) { $pos = $npos; } } if ( !$pos ) { // substr $len-3, because the ellipsis adds 3 chars return substr($str, 0, $len-3) . '...'; } else { // $pos+1 to grab punctuation mark return substr($str, 0, $pos+1); } } $mystring = <<

Peeps McGoo says, "Where did you put my socks?!"

Peeps' special talent is to pretend that he's flustered and discombobulated. "WHERE AM I? WHAT? WHO?"

The monsters want you to see the animation!

Get the Adobe Flash player.

Get Adobe Flash player

If you would like to see animated GIFs instead, visit the monsters page. We thank you from the bottom of our bottoms.

"WHERE ARE MY TENTACLES?"

EOD; echo ''; ?>
Meet Smuckles von Smee Meet Smuckles von Smee Slugs read books Slugs read books Monsters like trees! Monsters like trees! Happy Valentine's Day! Happy Valentine's Day! Red flower totebag Red flower totebag Rawr! Pink monster makes a face. Rawr! Pink monster makes a face. Morning monster needs his coffee Morning monster needs his coffee Toast for dinner Toast for dinner Purple monster turns red! Purple monster turns red! One purple monster eats curry One purple monster eats curry

Kristen's monsters are here to tell you about .

Peeps McGoo says, "Where did you put my socks?!"

Peeps' special talent is to pretend that he's flustered and discombobulated. "WHERE AM I? WHAT? WHO?"

The monsters want you to see the animation!

Get the Adobe Flash player.

Get Adobe Flash player

If you would like to see animated GIFs instead, visit the monsters page. We thank you from the bottom of our bottoms.

"WHERE ARE MY TENTACLES?"

Peeps McGoo is flustered

Monday, March 30, 2009

Peeps McGoo says, "Where did you put my socks?!"

Peeps' special talent is to pretend that he's flustered and discombobulated. "WHERE AM I? WHAT? WHO?"

The monsters want you to see the animation!

Get the Adobe Flash player.

Get Adobe Flash player

If you would like to see animated GIFs instead, visit the monsters page. We thank you from the bottom of our bottoms.

"WHERE ARE MY TENTACLES?"

Peeps McGoo is flustered

Peeps McGoo says, "Where did you put my socks?!"

Peeps' special talent is to pretend that he's flustered and discombobulated. "WHERE AM I? WHAT? WHO?"

The monsters want you to see the animation!

Get the Adobe Flash player.

Get Adobe Flash player

If you would like to see animated GIFs instead, visit the monsters page. We thank you from the bottom of our bottoms.

"WHERE ARE MY TENTACLES?"