have u try this:

<cfset EZB_PO_WDDX = #Replace(EZB_PO_WDDX,"~","&","ALL")#>


-----Original Message-----
From: ramesh deva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 18 January 2001 3:07 PM
To: CF-Talk
Subject: Replace function(very urgent)



Hi 
Here i have wddx_packet variable, it contains text
file

So my question is can i replace whole file by using
following code.

Becos when i use this code 

<cfwddx action="WDDX2CFML" input="#wddx_packet#"
output="EZB_PO_WDDX">

<cfset EZB_PO_WDDX =
Replace(#EZB_PO_WDDX#,"~","&","ALL")> 

Getting this error:-

An error occurred while evaluating the expression: 


 EZB_PO_WDDX = Replace(#EZB_PO_WDDX#,"~","&","ALL")



Error near line 310, column 11.
----------------------------------------------------------------------------
----

Parameter 1 of function Replace must be a basic value,
i.e., a string, number, logical, or date/time value i
am here 

Thanx in advance
Ramesh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to