ArrayToList()
Transform the array to a list of elements delimiter by the given string
ArrayToList( array=array, delimiter=string );
Returns: String
Examples
Convert an array to a list (optional delimiter)
newArray = ['a','b','c','b','d','b','e','f'];
dump(arrayToList(newArray));
// member function, with custom separator
dump(newArray.toList('--'));
See also
- Arrays
- Lists
- Strings
- array.toList()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)