demo_ref_string_index3.py:
txt = "Hello, welcome to my world." x = txt.index("e", 5, 10) print(x)
➜ begtut>python demo_string_index3.py
8