List<String> yourList = ["20", "3005", "2"]; // To test that the above the above yourList.join() == '2030052'; // true yourList.join(',') == '20,3005,2'; // true, with "," delimiter
[1,2,3].join(); // "123" [1,2,3].join(','); // "1,2,3"