list2str function

Combine list values as string.