Hi Jeremy,
I would do something like this.
<cfset list = "0001,0002,0003">
<cfset newList="'">
<cfloop list="#List#" index="i" delimiters=",">
<cfset newList=newList & i & "','">
</cfloop>
<cfset newList=Left(newList,len(newList)-2)>
<cfoutput>#newList#</cfoutput>
Jason Sheedy
Senior Web Developer
Voice International Limited
www.voice.com.au
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy
Sent: Thursday, 23 December 2004 2:00 PM
To: CFAussie Mailing List
Subject: [cfaussie] changing a list
Hey,
I got a list that I'm trying to alter with quote marks eg.
<cfset list = "0001,0002,0003">
<cfset vlist = "#valuelist(List)#">
BUT
I want to put little quote marks around each item. eg
<cfset vlist = "#valuelist(List)#">
<cfoutput>'0001','0002','0003'</cfoutput> etc
I tried replace, and rereplace but i couldn't get it working...
ideas?
Jeremy
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/