Yeah I saw that post.  Up until now I had only tried to use single character
delimiters, except when I would generate a list for display from the db
using valueList.  Very strange behavior.

Tim Heald
ACP/CCFD :)
Application Development
www.schoollink.net

> -----Original Message-----
> From: Tyler Silcox [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 30, 2002 4:17 PM
> To: CF-Talk
> Subject: Re: list delimiters>>>
>
>
> Tim wrote: MyList=ValueList(queryName.ColumnName, ', ');
>
> That'll work, but it doesn't work for ListAppend, which seams
> pretty screwy
> to me.  I use ValueList all the time with the ", " and I always try (and
> fail) to use ListAppend(list, value, ", "), see my previous message below
> for an example.  I just thought I'd check with y'all to see if
> anyone had a
> good explanation for this...
>
> Tyler Silcox
> email | [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Timothy Heald" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, May 30, 2002 3:48 PM
> Subject: RE: list delimiters>>>
>
>
> MyList=ValueList(queryName.ColumnName, ', ');
>
> Is that what you mean?  If you put something in the delimiter place than
> that will be the delimiter.  If you bob, then in between each list member
> will be the word bob.  If you used chr(09) [tab] than you would have a tab
> delimited list.
>
> Tim Heald
> ACP/CCFD :)
> Application Development
> www.schoollink.net
>
> > -----Original Message-----
> > From: Tyler Silcox [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 30, 2002 3:48 PM
> > To: CF-Talk
> > Subject: Re: list delimiters>>>
> >
> >
> > I am actually trying to use a string as a delimiter like
> > #ListAppend(MyList, MyValue, "mystring")# .
> >
> > If I do this:
> >
> > <cfscript>
> > MyList="";
> > MyList=ListAppend(MyList, "Hello There", "mystring");
> > MyList=ListAppend(MyList, "Good Afternoon", "mystring");
> > </cfscript>
> >
> > MyList is equal to: Hello TheremGood Afternoon
> >
> > But if I do this:
> >
> > <cfscript>
> > MyList=ValueList(queryName.ColumnName, "mystring");
> > </cfscript>
> >
> > then MyList is then equal to:  Hello TheremystringGood Afternoon
> >
> > Why do the List functions behave differently?  Is there any rules
> > or such to go by when using delimiters?
> >
> > Tyler Silcox
> > email | [EMAIL PROTECTED]
> >
> > BTW: I'm not trying to use "mystring" as a delimiter, I just want
> > to use ", " (comma space) as a delimiter to output the list to
> > the browser.
> >
> > ----- Original Message -----
> > From: "Ryan Kime" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Thursday, May 30, 2002 3:21 PM
> > Subject: RE: list delimiters>>>
> >
> >
> > Is this what you are looking for? If you already have a list, you
> > can change
> > the delimiter like so....
> >
> > ListChangeDelims(#yourList#, "+")
> >
> >
> > -----Original Message-----
> > From: Tyler Silcox [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 30, 2002 2:20 PM
> > To: CF-Talk
> > Subject: list delimiters>>>
> >
> >
> > Is there any known tricks to providing list delimiters to the List
> > functions?  Sometimes you can use a string as a delimiter,
> #ValueList()#,
> > and other times it will only allow you to use/accept the first
> character,
> > such as #ListAppend()#.  Any idears?
> >
> > Tyler Silcox
> > email | [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to