Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

Re: How to reverse only numbers in a string not total string

$
0
0

Hi Ramu,

 

For your case, you have to do some workaround using patterns and offsets.

 

Like getting the offset of 1st string and move to one variable and get the offset of number and move to one variable, reverse it, and next get the offset of next string and so on.. Finally concatenate all strings to final string.

 

Thanks

Gangadhar


Viewing all articles
Browse latest Browse all 8667

Trending Articles



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