Learn Before
Concept

Beautiful Soup strip() function

The strip() method returns a copy of the string with both leading and trailing characters removed (based on the string argument passed). It is often used to get rid of empty spaces and new lines.

0

1

Updated 2021-03-31

Tags

Python Programming Language

Data Science