Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 63306

Forum Post: RE: Please tell me how to sorting string

$
0
0
If you just want to filter the values (that might be what you mean by "sorted", it wasn't clear): list_b = buildString(pcreMatchList("^s" parseString(list_a ", ")) ", ") if you want them sorted too: list_b = buildString(sort(pcreMatchList("^s" parseString(list_a ", ")) 'alphalessp) ", ") The trick is to parse the string into a list, filter with a regular expression, sort (if needed) and build back into a string again. Andrew

Viewing all articles
Browse latest Browse all 63306


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