s = 'abc12321cba' print(s.replace('a', ''))
>>> string = 'This is a string, with words!' >>> string.split() ['This', 'is', 'a', 'string,', 'with', 'words!']