Excerpt | ||
---|---|---|
| ||
listToString(array) Takes a list and returns the concatenation of the values in that list. |
Function: listToString()
This function takes a list and returns a string which is the concatenation of the string representation of each element of the list, with each element separated by a comma.
...
listToString(["apple",1,"John",NULL,"dog"])
listToString() returns
"apple,1,John,,dog"
listToString(["apple",1,"John",NULL,"dog"],"--")
listToString() returns
"apple--1--John----dog"
listToString(["apple",1,"John",NULL,"dog"],"--",1)
listToString() returns
"apple--1--John--dog"
listToString([01/09/2010,01/10/2010,NULL,01/11/2010],"--",1,"dd MMM yyyy")
listToString() returns
"01 Sep 2010--01 Oct 2010--01 Nov 2010"
...