striptonum(
TEXT
)
The striptonum( function removes everything but numeric digits from a text item.
Parameters
This function has one parameter:
text – is the item of text that you want to strip.
Description
The striptonum( function removes everything but numeric digits from a text item.
Everything else (letters, spaces, punctuation, etc.) will by removed from the text.
striptonum("Joy's birthday is on 7/12") ☞ 712
striptonum("Mike's phone number is (818) 993-5555") ☞ 8189935555
See Also
- percentescape( -- encodes specified characters using percent encoding.
- percentunescape( -- decodes text that contains percent encoding.
- strip( -- strips off leading and trailing blanks and other whitespace (carriage returns, tabs, etc.)
- stripchar( -- extracts characters you don't want from a text item.
- stripdiacriticals( -- strips diacritical marks from text.
- stripprintable( -- strips non-printable characters from text.
- striptoalpha( -- removes everything but alphabetic letters from a text item.
- urldecode( -- decodes text that contains percent encoded characters.
- urlencode( -- converts text into a legal URL (by converting spaces into `%20`). WARNING: THIS FUNCTION IS OBSOLETE.
History
10.0 | No Change | Carried over from Panorama 6.0 |