DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
trimming spaces in string python
a = " yo! " b = a.strip() # this will remove the white spaces that are leading and trailing
PREVIOUS
NEXT
Tagged:
#trimming
#spaces
#string
#python
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit