Python, get sub string
If you want to get sub string from a string so you can easily do this by getting slice, in Python. In Python, there is no built-in Substring function like in Java (str.substring) or any other language. Instead, Python relies on slice technique.