Code:
<?php$company='bizhat';
$sent=' HEY buddy how are you doing';
echo 'hey '.ucwords($company.' is cooler ').strtolower('THAN ANYTHING.').strtolower(str_replace('buddy', 'man', $sent));
echo '<br>'.str_replace('HEY','',$sent);
http://php.flashwebhost.com/austin/day3.php

Please post if you find anymore interesting php string functions!!