Quantcast
Channel: Active questions tagged string-manipulation - Mathematica Stack Exchange
Viewing all articles
Browse latest Browse all 189

Join non-digit character strings

$
0
0

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 189

Trending Articles



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