Related questions
How do I get a substring of a string in Python?
Is there a way to substring a string in Python, to get a new string from the third character to the end of the string?
Maybe like myString[2:end]?
If leaving the second part means 'till the end', and if …
How to extract the substring between two markers?
Let's say I have a string 'gfgfdAAA1234ZZZuijjk' and I want to extract just the '1234' part.
I only know what will be the few characters directly before AAA, and after ZZZ the part I am interested in 1234.
With …