Try this out.

<CFSET String = "1111111111111111111111111111111111">
<CFSET List = "">

<CFLOOP INDEX="i" FROM="1" TO="#Len(String)-1#" STEP="1">
<CFSET List = ListAppend(List,i)>
</CFLOOP>

<CFOUTPUT>#List#</CFOUTPUT>

Dave

On Mon, 11 Nov 2002 11:30:36 -0500
  "Tony Weeg" <[EMAIL PROTECTED]> wrote:
>hi list.
>
>If you were going to take a string, lets say
>
>1111111111111111111111111111111111
>
>and turn that to a list, how would you get
>commas in there, after each on, except for the last one?
>
>:)
>
>struggling on a Monday after a fantastic ravens game on 
>the 30 yrd line
>;)
>
>..tony
>
>Tony Weeg
>Senior Web Developer
>Information System Design
>Navtrak, Inc.
>Fleet Management Solutions
>www.navtrak.net
>410.548.2337 
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to