Implode

function implode(glue, arr) { return arr.join(glue); }

Returns a string with all the array (arr) elements separated by glue.

Digg This