String Methods

Changing the capitalization of a string

str.translate Translating characters in a string

str.format and f-strings Format values into a string

String modules useful constants

Replace all occurrences of one substring with another substring

Reversing a string

Testing what a string is composed of

Split a string based on a delimiter into a list of strings

Stripping unwanted leading/trailing characters from a string

String Contains

Join a list of strings into one string

Counting number of times a substring appears in a string

Case insensitive string comparisons

Test the starting and ending characters of a string

Justify strings

Conversion between str or bytes data and unicode characters