In Python, there are numerous ways to manipulate strings (concatenating, trimming, splitting the strings) using its String methods. Since strings are immutable in Python, a new string is created after every manipulation while keeping the original string intact.
String method | What does it do? |
split() | |
format() | |