DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+1 =
Submit