A list is simply a string with a 'delimiter' between pieces of text. What
the listappend() function does is the same thing as simple string
concatenation with the extra step of adding the delimiter.
"Every list is a string, Every string can be seen as a list"
> I am wondering if there's a better way to build up a string in a CFLOOP
than
> to use a statement such as..
>
> <cfloop>
> <cfset myvar = myvar & stringvar>
> </cfloop>
>
> My experience with this kind of looping append is that it is inefficient
> because the variable continues to grow and must be copied in memory each
> time it grows bigger per loop.
>
> I can seem to find an append function in CF... is there one? Or is there a
> better way to do it? Perhaps using listappend function or somesuch? JUst
> looking for any comments if anyone understands/knows what I am dealing
with
> here... thx!
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.