>>However you do it, I'd look at a Java StringBuilder or StringBuffer, because any string manipulation with CF over that many lines is going to blow up with a Java out of memory exception since every concatenation or string function call creates another string in memory.
I would rather write a CFX tag in C. C is the ideal language for that, it can replace any character anywhere at a fixed position in a string with only one simple statement without even moving the string in memory, thanks to pointers. -- _______________________________________ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302998 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

