How do I get a python substring from a string?
I want to get a new string starting from the third character to the end of the string, e.g., myString[2:end]
. If I omit the second part, does it mean ‘to the end’, and if I omit the first part, does it start from the beginning?