$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 = <<

Smoopy F. Toodles practices winking.

"How does it look?" says Smoopy.

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.

EOD; echo ''; ?>
Peeps McGoo is flustered Peeps McGoo is flustered 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!

Kristen's monsters are here to tell you about .

Smoopy F. Toodles practices winking.

"How does it look?" says Smoopy.

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.

Smoopy practices winking.

Saturday, April 4, 2009

Smoopy F. Toodles practices winking.

"How does it look?" says Smoopy.

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.

Smoopy practices winking.

Smoopy F. Toodles practices winking.

"How does it look?" says Smoopy.

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.