OK, I stand corrected. For anyone who doesn't want to waste time writing C-based CFX tags just to duplicate something that is built into the Java API, I'd recommend a Java StringBuffer or StringBuilder.
On Tue, Apr 8, 2008 at 7:55 PM, Claude Schneegans < [EMAIL PROTECTED]> wrote: > >>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:302999 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

