I'd be interested to know how the code I suggested performs in comparison to the regex with the 360k string - in theory it outperform it:
<cfset myList = ArrayToList( myString.toCharArray() ) /> Regex seems a little ott in this situation. > 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:320756 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4