Do you need to remove the double quotes, or is it interfering somehow?

Your rereplace could be just a replace.
Your rereplace needs to "escape" the double quote in the 2nd param (whenever using 
double quotes within double quotes, you need to put 2 right close together.) So in 
your example, put 4 double quotes as the 3nd param and it should work.

Jerry Johnson

>>> [EMAIL PROTECTED] 11/02/04 12:26PM >>>
I think maybe it would be easier if I removed all the double quotes from the file 
before I parsed it.

How can I do a replace of any double quote to nothing? What delimiters can I use other 
than "?

<cfset fileContent=REReplace(fileContent,""","","ALL")>

It vomits on the above line.


<cfset fileContent=cfhttp.fileContent>
<cfset fileContent=replacenocase(fileContent,"<FORM NAME=loginForm","#chr(253)#<FORM 
NAME=loginForm")>
<cfset fileContent=replacenocase(fileContent,"</form>","</form>#chr(253)#") 

<cfset formContent=listgetat(fileContent,2,"#chr(253)#")>

#formcontent#

> You may need to leave the form name in there as well.
> 
> <cfset fileContent=replacenocase(fileContent,"<FORM NAME=loginForm",
> "#chr(253)#<FORM NAME=loginForm")> 
> 
> (We currently are replacing "<FORM NAME=loginForm" with "<FORM", which 
> changes things slightly. If you don't need the form name, though, you 
> should be all set.)
> 
> 
> Jerry Johnson
> 
> >>> [EMAIL PROTECTED] 11/02/04 11:16AM >>>
> Got it. I just changed the following line od code:
> 
> <cfset fileContent=replacenocase(fileContent,"<FORM NAME=loginForm",
> "#chr(253)#<FORM")> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=38

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:455
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to