Learn Before
  • Helpful Beautiful Soup Functions

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

4 years ago

Tags

Python Programming Language

Data Science

Related
  • Beautiful Soup find() Function

  • Beautiful Soup get_text() Function

  • Beautiful Soup strip() function

  • Beautiful Soup split() function