string1 = ‘abcdefghijk’
I need to extract a substring from 4th position for a length of 2 characters
I tried this Python code and I get a syntax error:
substring1 = string1(3:2)
(the result in substring should be ‘de’ if it works)
Thanks for help.