DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python remove everything except numbers from string
def AdvancedIn(in_string): res = ''.join(i for i in input(in_string) if i.isdigit()) return res
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#remove
#numbers
#string
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit