I always use a character that is very less likely to be typed in by the user
or in any normal text string like the carrot sign for example (^).... Then
all you need to do then is do what you need and replace the (^) with (,)...

regards

Andrew Scott
Senior Cold Fusion Application Developer



-----Original Message-----
From: Eric Fickes [mailto:[EMAIL PROTECTED]]
Sent: 07 December 2000 15: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