Re: Parsing Strings
| From: | Richard Heyes | Date: | Mon, 15 Oct 2007 16:30:55 +0000 |
| Subject: | Re: Parsing Strings | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263213@lists.php.net to get a copy of this message | ||
Philip Thompson wrote:
...<?php
$str = 'thisIsAStringIHave';
echo ucfirst(preg_replace('/([A-Z])/', ' $1', $str));
?>
HTH
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support