[thelist] Escape of the Commas!

.jeff jeff at members.evolt.org
Tue Jun 25 15:02:01 CDT 2002


> From: Ken Kogler
> I've got multiple form elements (checkboxes, in this
> case) with the same name. Sometimes, their values
> contain commas. I'd like to escape or replace these
> commas somehow, but I can't find an equivalent.
> (double quotes are &quot;, left angle brackets are
> &lt;, etc, but what are commas? Is there even a
> character entity for a comma?)
> Anyone know how to escape those pesky comma values?

in coldfusion i'd use the URLEncodedFormat() function.  i'm not sure what
the equivalent is in your language of choice.  whatever it is, the end
result will all commas being replaced by %2C.


jeff at members.evolt.org

More information about the thelist mailing list