so, I guess im the only one with post football Sunday syndrome this
gloomier
than ever Monday on the east coast ;)

thanks for all the input fellas!

..tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 


-----Original Message-----
From: Matt Liotta [mailto:mliotta@;r337.com] 
Sent: Monday, November 11, 2002 11:39 AM
To: CF-Talk
Subject: RE: string question


<cfscript>
        ones = "1111111111111111111111111111111111";
        onesList = Replace(ones, "1", "1," , "all");
        onesList = Left(onesList, Len(onesList) - 1);
</cfscript>

or

<cfscript>
        ones = "1111111111111111111111111111111111";
        onesList = "1";
        for(itr = 2; itr lt len(ones); itr = itr + 1)
                onesList = onesList & ",1";
</cfscript>

Matt Liotta
President & CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

> -----Original Message-----
> From: Tony Weeg [mailto:tony@;navtrak.net]
> Sent: Monday, November 11, 2002 11:31 AM
> To: CF-Talk
> Subject: string question
> 
> 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