Changes a list delimiter.
Returns a copy of the list, with each delimiter character
replaced by new_delimiter.
listChangeDelims(list, new_delimiter [, delimiters, [includeEmptyValues]])
→ returns string
list.listChangeDelims(new_delimiter [, delimiters, [includeEmptyValues]])
,
NO
Changes the delimiters in the list
listChangeDelims("foo,bar,lorem,ipsum", "|")
Expected Result: foo|bar|lorem|ipsum
Changes the delimiters in the list using a custom delimiter
listChangeDelims("foo,bar|lorem,ipsum|me|something", "~", "|")
Expected Result: foo,bar~lorem,ipsum~me~something
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.