demo_ref_string_split3.py:
txt = "apple#banana#cherry#orange" x = txt.split("#") print(x)
C:\Users\My Name>python demo_string_split3.py
['apple', 'banana', 'cherry', 'orange']