Take Off Character in Python String
s = 'abc12321cba'
print(s.replace('a', ''))
Disturbed Dove
s = 'abc12321cba'
print(s.replace('a', ''))
s = 'ab12abc34ba'
print(s.replace('ab', ''))
s = "Earthworms and Python are disgusting!"
s.replace('and Python ', '')
print(s)
#Run the code
result = "Earthworms are disgusting!"
"Str*ing With Chars I! don't want".replace('!','').replace('*','')
varible.replace(letter, "") # blank quotes.
# e.g.
s = "Hello World"
print(s.replace('e', ""))
# Hllo World
# great for data cleansing
url = 'abcdc.com'
print(url.replace('.com',''))