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

Heart monster loves YOU!

3B977EF6-66AF-4A87-90A5-3B02DFC091FC.jpg
EOD; echo ''; ?>
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 Watch out for bad weather Watch out for bad weather A monster and his book. A monster and his book. Three red monsters Three red monsters How are the monsters made? How are the monsters made?

Kristen's monsters are here to tell you about .

Heart monster loves YOU!

3B977EF6-66AF-4A87-90A5-3B02DFC091FC.jpg

Happy Valentine's Day!

Friday, February 13, 2009

Heart monster loves YOU!

3B977EF6-66AF-4A87-90A5-3B02DFC091FC.jpg

Happy Valentine's Day!

Heart monster loves YOU!

3B977EF6-66AF-4A87-90A5-3B02DFC091FC.jpg