reverse of the split function?
split will turn a string to array.
Is there a function turn an array to string?
like
myarray[0]=1;
myarray[2]=10;
myarray[3]=100;
is there a built in function applies to myarray? return a string like"1, 10, 100" or "(1, 10, 100)"?
It is very easy to write this function by myself. Just want to know if there is a built in function for this. I didn't find any. But it seems to me it will be useful.
Because, if we want to do a SQL set membership test. and the membership values usually will be in array. then we can turn the array to the string and used the array values in the set membership test.
Thanks!