[thelist] ColdFusion equivalent to string.split()

Darrell King darrell at webctr.com
Wed Apr 18 20:24:51 CDT 2001


also known as join (Perl) and implode (PHP)...I think this one is
everywhere...:)

D

----- Original Message -----
From: "Joshua Olson" <joshua at alphashop.net>


ColdFusion has a function called ListToArray.  The first parameter
is the
list (string) and the second parameter is the delimiter used to
denote list
items.

Good luck,

-joshua

>
> Hi,
>
> This is my first post to the list.
>
> How could I split a string based on character/s in the
> string with ColdFusion (kinda like string.split() in
> JavaScript)? The reason is that I want to use the
> array with serverside code.
>
> Thanks,
>
> Jon Steele.







More information about the thelist mailing list