Quantcast
Viewing all articles
Browse latest Browse all 188

Join non-digit character strings

I have a list:

lis = {"20","ab","Cd","10","E"}

in which I would like to join adjacent elements if they are letters and not digits, to give:

res = {"20","abCd","10","E"}

Again thanks for any help!


Viewing all articles
Browse latest Browse all 188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>