>You've gotta love this bit of code:
>
>REreplace(arguments.strInputString,"(.)(.)","\1#arguments.strDelimiter#\2#ar
>guments.strDelimiter#","ALL")
>
>lol
>
>Oh come on, that's funny! :OD

Yeah, I know. :)  I haven't added regex to my knowledge repertoire yet, so I 
just modified the code snippet offered in the third post 
(#REreplace(list,"(.)(.)","\1,\2,","ALL")#).  Mine's not as pretty as it could 
be, but is a vast improvement from my original function. I created a string 
360k chars long for testing - this function processed it 9 times faster than my 
old function (which loops through every char in the string). 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320755
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to