mutable string objects
Python strings are immutable objects. This has the advantage, that strings may be used as dictionary keys. If this property isn't needed and you insist on changing string values in place instead, you may cheat and use MutableString.
But the purpose of this class is an educational one: to prevent people from inventing their own mutable string class derived from UserString and than forget thereby to remove (override) the __hash__ method inherited from UserString. This would lead to errors that would be very hard to track down.
A faster and better solution is to rewrite your program using lists.
There are no implemented interfaces.
There are no attributes in this class.
capitalize()
center(width, *args)
count(sub, start=0, end=2147483647)
decode(encoding=None, errors=None)
encode(encoding=None, errors=None)
endswith(suffix, start=0, end=2147483647)
expandtabs(tabsize=8)
find(sub, start=0, end=2147483647)
immutable()
index(sub, start=0, end=2147483647)
isalnum()
isalpha()
isdecimal()
isdigit()
islower()
isnumeric()
isspace()
istitle()
isupper()
join(seq)
ljust(width, *args)
lower()
lstrip(chars=None)
replace(old, new, maxsplit=-1)
rfind(sub, start=0, end=2147483647)
rindex(sub, start=0, end=2147483647)
rjust(width, *args)
rsplit(sep=None, maxsplit=-1)
rstrip(chars=None)
split(sep=None, maxsplit=-1)
splitlines(keepends=0)
startswith(prefix, start=0, end=2147483647)
strip(chars=None)
swapcase()
title()
translate(*args)
upper()
zfill(width)
There are no known subclasses.