How to get integer from string?

If data in string is ‘Ashwini1234’ and I want to extract integer only ? I want to get integer ‘1234’. How it can be done?

we can use regex for this

Line1: getting number as string
Line2: getting Number as Int

Also have a look here:

1 Like


@ppr Thanks a lot.

@pavanh003 Got it, Thank you so much

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.