Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python strip()

a = "  smurf   "

a = a.strip()
#remove space at begining and end of string
print(a)
#smurf
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
5+9 =