> > Besides commas and pipes, what are the next best choices 
> > for delimiting lists?
>
> use a series of hard to find types.
> something like: "~%~"
> 
> this will guarntee NO ONE will type it.

There are two problems with this. First, in CF, you can't really use
multiple characters as a single delimiter very easily. All of the tags and
functions that allow list manipulation accept a delimiters attribute or
argument, but if you specify multiple characters in that, it just means that
ANY ONE of those characters will be accepted as a delimiter!

Second, anything that can be typed in, will be typed in by somebody, given a
large enough sample of people.

If you're building the lists yourself, I'd recommend using a non-printable
ASCII character as the delimiter. I usually use Chr(7) - the bell character.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to