http://php.flashwebhost.com/austin/day3.phpCode:<?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);
Please post if you find anymore interesting php string functions!!




Reply With Quote
Bookmarks