Each character of a string can be reached with an index number, each string starts with the 0 index.
In order to output the part of a string, you have to consider the following: s[startIndex:pastIndex].
pastIndex is the length of a string + 1.
With the s.replace(„“,“““) operator you can replace parts of a string.

You can also compare two strings or search for words in a string:

More useful String Methods:

Source: https://pythonspot.com/strings/