Re: Parsing Strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/15/07, Richard Heyes <richardh@xxxxxxxxxxx> wrote:
>
> Philip Thompson wrote:
> > ...
>
> <?php
>      $str = 'thisIsAStringIHave';
>
>      echo ucfirst(preg_replace('/([A-Z])/', ' $1', $str));
> ?>
>
> HTH


Ha! I knew there was a much easier way. My brain is still not working this
Monday morning........ need... more... caf... feine........

Thanks!!
~Philip

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux