Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

trim all new rows string python

str1 = "
 Starbucks has the best coffee 
"
newstr = str1.strip()
or 
for sub in list1:
    rez.append(sub.replace("
", ""))
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #trim #rows #string #python
ADD COMMENT
Topic
Name
2+7 =