Python: Letter Case Conversion
Letter Case Conversion
str.capitalize()
- Capitalize the first character
str.upper()
- Change to uppercase.
str.lower()
- Change to lowercase.
str.swapcase()
- Switch uppercase/lowercase.
str.title()
- Make each word's first letter uppercase.
Python, String
- Python: Quote String
- Python: Triple Quote String
- Python: String Escape Sequence
- Python: Unicode Escape Sequence
- Python: String Prefix Character (u f r b)
- Python: Raw String (r-prefix)
- Python: f-String (Format, Template)
- Python: Print
- Python: Join String
- Python: Format String (Convert to String)
- Python: String Operations and Methods
- Python: Search Substring
- Python: Split String
- Python: String, Check Case, Char Class
- Python: Letter Case Conversion
- Python: Unicode 🐍
- Python 2: Unicode Tutorial