Announcements
No record found.
I want to extract the numbers from the stringe.g., 123Arpit ...so what i want the output as 123Can anyone please help me how to do it. Thank you
*This post is locked for comments
you have several options, the most obvious is strKeep(inputString, '0123456789')
But it is not fixed like i have various numbers
e.g., 101arpit
10arpit
1023arpit
strKeep keeps only the characters that you want to keep
strKeep('101arpit','0123456789') returns '101'
strKeep('1023arpit','0123456789') returns '1023'
You can use strKeep function to dissolve alphabets. It always returns string value where in which you can convert to integer.
Eg: strKeep("123Arpit567","0123456789") // returns "123567"
Thank you very much guys.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Joris dG 5
Alexey Lekanov 2
Henrik Nordlöf 2 User Group Leader