Search
 
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
Name
8+4 =