How to extract a substring from a string using position and length

Substring function in python extract sub strings with the sense of StartIndex , EndIndex-1

2 Likes