DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
remove part of string python
txt
=
'abbacabbd'
print
(
url
.
replace
(
'bbd'
,
''
)
)
#output:
abbaca
Source by www.journaldev.com #
PREVIOUS
NEXT
Tagged:
#remove
#part
#string
#python
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit