[thelist] ColdFusion - ListToArray using a string rather than a character

jon steele jjsteele22 at yahoo.com
Thu Apr 19 18:22:50 CDT 2001


Hello everyone,

I need to split a long variable (from a textbox) using
a string (such as ';;;'), but when I use ';;;' in
ListToArray() function as the delimiter, it splits the
string where one semicolon exists as well. I need it
to split only if three semicolon's exist in a row.

<cfset myarray = ListToArray(form.text," ")>

How can I work around this?

Thanks,
Jon.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




More information about the thelist mailing list