Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

strip()

txt = ",,,,,rrttgg.....banana....rrr"
x = txt.strip(",.grt")
#outputs banana
print(x)
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+7 =