Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove a part of a string python

url = 'abcdc.com'
print(url.replace('.com',''))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #part #string #python
ADD COMMENT
Topic
Name
4+3 =