Pythonで LeftStrRightStr Substringなどの処理はsliceのみです。 ↑のコードは、2文字目〜3文字目を取得できます s2 = 「いう」です。
Add a description, image, and links to the python-substring topic page so that developers can more easily learn about it.