Get your own Python server Result Size: 625 x 565
x
 
txt = "apple#banana#cherry#orange"
# setting the maxsplit parameter to 1, will return a list with 2 elements!
x = txt.split("#", 1)
print(x)
['apple', 'banana#cherry#orange']