it should be
Replace(attributes.employee, "-", "", "", "all")

oh and u dont need a CFSCRIPT to use that function hehehehehehe

i think.  

-----Original Message-----
From: Greg Wolfinger [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 2:43 PM
To: CF-Talk
Subject: crazy replace


hey guys, anyone know what this isn't working.  its been a while since i've
been working with cold fusion.

input: 384-29394-3928

<cfscript>
    Replace(attributes.employee, "-", "", "all");
</cfscript>

output: 384-29394-3928

I am trying to remove the dashes "-" from the employee number

--=@ greg @=--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to