I would recommend REReplace instead, so that you can replace both left
and right angle brackets in one shot since you're dealing with a large
file.

REReplace(string,"(<|>)","","ALL")

If you're worried about the speed, you can always drop down to straight Java:
http://www.google.com/search?hl=en&q=coldfusion+java+bufferedreader

-- 
Ryan Emerle
------------------------------------
Query2Excel - Write Excel files from ColdFusion
http://www.emerle.net/programming/display.cfm/t/cfx_query2excel
------------------------------------
Excel2Query - Read Excel files from ColdFusion
http://www.emerle.net/programming/display.cfm/t/cfx_excel2query
> -----Original Message-----
> From: Richard Colman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 20, 2006 6:59 PM
> To: CF-Talk
> Subject: RE: Two questions
>
> 1) if I want to do a replace where the character to be replaced is a forward 
> or backward angle bracket "<" or ">" then I assume that this will not work:
>
>   <cfset name = replace(#string1#, "<","", "ALL")>
>
> How do I "escape" the bracket character to make it work?
>
> 2) this is from the CFFILE doc for action="read":
>
> It is not intended for use with large files, such as logs, because this can 
> bring down the server.
>
> Will a 500K text file "bring down the server?"
>
> TNX for any thoughts.
>
> Rick Colman

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264720
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to