Remove empty elements from start and end of the list
listCompact(list [, delimiters] [, multiCharacterDelimiter])
→ returns string
list.listCompact([delimiters] [, multiCharacterDelimiter])
,
false
listCompact(",eggs,milk,bread,flour,")
Expected Result: eggs,milk,bread,flour
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.