Programming with Python

  1. Home
  2. Docs
  3. Programming with Python
  4. String manipulation in python

String manipulation in python

A collection of one or more characters put in single, double or triple quotes is called a string. It is a datatype in python.

e.g., ‘python’, “python”, “””python”””, ”’python”’, etc.

Strings are immutable datatype. A string can hold any type of known characters i.e., letters, numbers and special characters.


Was this article helpful to you? Yes No

How can we help?