I can look at that all day long and never figure it not... :( -----Original Message----- From: Rick Root [mailto:rick.r...@gmail.com] Sent: Tuesday, August 10, 2010 3:46 AM To: cf-community Subject: Re: Dysfunctional contest
Relatively succinct but I'll be a lot of CF programmers would have to spend some time figuring out what that did =) I didn't know about those special replace sequences. Rick On Tue, Aug 10, 2010 at 1:26 AM, Michael Dinowitz <mdino...@houseoffusion.com> wrote: > > In ColdFusion, but less convoluted. > > REReplace(string, '^(.+)$', '\U\1\E') > ^(.+)$ - starting at the beginning of the string, capture all > characters till the end \U - make all characters after it upper case > until a \E is reached. > > http://www.houseoffusion.com/tutorials/regular-expressions/special-bac > kreference.cfm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:324653 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm