
Contributor III
2020-03-13
05:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Keep numeric from a character string with mixed char and numeric content
Is there any formula or other way to isolate the numeric value from a tekst string that holds both numeric and char data ?
For instance
' AMEX_123456' shoudl deliver 123456
'MONEYMARKET:456222 TODAY' should deliver 456222
In the same field the numbers can occur on various positions in the string , so I can not substract with left and right functions.
Do we have seomthing like a KEEPNUMERIC function ?
954 Views
1 Solution
Accepted Solutions

MVP
2020-03-13
05:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
948 Views
2 Replies

MVP
2020-03-13
05:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have KeepChar(). Try like:
KeepChar('YourString', '0123456789')
949 Views

Contributor III
2020-03-13
06:00 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Didn't think about that one , will try (and convert the oucome to number) …. thanks seem fine.
940 Views
