If data in string is ‘Ashwini1234’ and I want to extract integer only ? I want to get integer ‘1234’. How it can be done?
@ashwini.magar92
we can use regex for this
Samples:
Line1: getting number as string
Line2: getting Number as Int
Also have a look here:
1 Like
System.Text.RegularExpressions.Regex.Match(“abcd1234”,“\d{1,}”).ToString
@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.