python_ref_string_strip_2.py:
x
 
txt = ",,,,,rrttgg.....banana....rrr"
x = txt.strip(",.grt")
print(x)