This category of built-in methods of Python's str class deal with the conversion of alphabet characters in the string object. Following methods fall in this category −
Sr.No. Method & Description1
Capitalizes first letter of string
2
Converts all uppercase letters in string to lowercase. Similar to lower(), but works on UNICODE characters alos
3
Converts all uppercase letters in string to lowercase.
4
Inverts case for all letters in string.
5
Returns "titlecased" version of string, that is, all words begin with uppercase and the rest are lowercase.
6
Converts lowercase letters in string to uppercase.
python_string_methods.htm
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4