[thelist] Title-case regex in PHP?

Kelly Hallman khallman at wrack.org
Sat Sep 27 18:29:32 CDT 2003

On Sat, 27 Sep 2003, jsWalter wrote:
> Well, how about a non-RegEx way?
> $string = ucwords($string); 

Well, normally no, that would not be okay, but I forgot about ucwords() 
which is perfect :) ...I just found out about that function recently when 
perusing the PHP manual, too... silly me!  Thanks!

Kelly Hallman

More information about the thelist mailing list