Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python3 strip punctuation from string

import string
#make translator object
translator=str.maketrans('','',string.punctuation)
string_name=string_name.translate(translator)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #strip #punctuation #string
ADD COMMENT
Topic
Name
6+6 =