demo_ref_string_rsplit.py:
txt = "apple, banana, cherry" x = txt.rsplit(", ") print(x)
C:\Users\My Name>python demo_string_rsplit.py
['apple', 'banana', 'cherry']