does this help?

<cfset originallist = '"Full Name" "Email Address" "Group List" "Login
Name"'>

<cfset editedlist = replace('#originallist#','" "',',','all')>
<cfset editedlist = replace('#editedlist#','"','','all')>

<cfoutput>#editedlist#</cfoutput>

HTH

Dan.

:> -----Original Message-----
:> From: Eric Fickes [mailto:[EMAIL PROTECTED]]
:> Sent: 07 December 2000 04:31
:> To: CF-Talk
:> Subject: List w/" " delims
:> 
:> 
:> Got a List question for you.
:> 
:> I've got a text file that I need to parse and it's " 
:> delimited list, in a
:> way.  The list format is this.
:> 
:> "Full Name" "Email Address" "Group List" "Login Name"
:> "Demo user for startup" "" " 1;" "Demo" 
:> 
:> I was hoping to somehow use " " as a delimeter, but that's 
:> not working.
:> When I do that it takes out the spaces in the column names. 
:> I'd like to take
:> 
:> "Full Name" "Email Address" "Group List" "Login Name"
:> 
:> and turn it into
:> 
:> Full Name,Email Address,Group List,Login Name
:> 
:> Any ideas?
:> 
:> E
:> 
:>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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