I have a list:
lis = {"ab", "cde", 2,"rs",3,"tu","v","w",7}
and would like to get the following list:
lis2 = {abcde, 2,rs, 3,tuvw,7}
... with adjacent strings joined and separated by integers.
Any thoughts would be appreciated!
I have a list:
lis = {"ab", "cde", 2,"rs",3,"tu","v","w",7}
and would like to get the following list:
lis2 = {abcde, 2,rs, 3,tuvw,7}
... with adjacent strings joined and separated by integers.
Any thoughts would be appreciated!