List teste = ['element1', 'element2', 'element3']; final t = teste.join('|'); // element1|element2|element3