Python - Methods
Code Life
By Pierre Marsaa
Introduction to String Methods
In Python, strings come with built-in methods that help you work with text. These methods are special functions that belong to string objects and can help you transform and analyze text.
You call a string method using the dot notation after a string: string_variable.method_name()
Important Note
String methods don't change the original string. They return a new string with the changes applied. This is because strings in Python are immutable (cannot be changed after creation).
Verify