Excellent! Looks good. Thanks. Have you or has anyone else come across any shortcomings in this function?
Guillermo Rauch wrote: > Look at this: > http://php.net/manual/en/function.ucfirst.php#81258 > > On Jun 10, 2008, at 2:08 PM, Tom Haskins-Vaughan wrote: > >> Hi, >> >> I have a data source (CT MLS property database) and the addresses are >> all give in uppercase letters: >> >> 23 WATER STREET >> >> I'd like it to appear 23 Water Street. >> >> I could use ucfirst(), which is fine, but I was wondering if there was >> any existing work on how to get around things like >> >> 49 O'Brien Avenue >> >> I could easily do this with regex on a list of known situations, but I >> was wondering if anyone had done the ground work before, so that I >> don't >> have to think of all different possible scenarios. >> >> TIA >> >> Tom >> -- >> Tom Haskins-Vaughan >> Temple Street Media: Design and Development for the Web >> [EMAIL PROTECTED] | www.templestreetmedia.com >> > > Guillermo Rauch > http://devthought.com > > > > > -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---