demo_ref_string_find2.py:
txt = "Hello, welcome to my world." x = txt.find("e") print(x)
➜ begtut>python demo_string_find2.py
1