array_to_string ( array anyarray, delimiter text [, null_string text ] ) → textConverts each array element to its text representation, and concatenates those separated by the
delimiter string. If null_string is given and is not NULL, then NULL array entries are represented by that string; otherwise, they are omitted. See also string_to_array.array_to_string(ARRAY[1, 2, 3, NULL, 5], ',', '*') → 1,2,3,*,5