Run »
txt = "apple#banana#cherry#orange" x = txt.split("#") print(x)
['apple', 'banana', 'cherry', 'orange']