String Functions

We have had a glimpse of what a basic string is. Now, it is time to learn what can be performed with a string.

All characters in a string can be accessed by their indices.

In Python, the indices start from 0 and can be harnessed by the bracket operator[]

Indices can only be integers, not floats.

The len() function prints the total length of a string and only a string. To find the length of a number, the number will have to be converted into a string.