Answers for "how to remove leading whitespace from a string in the python"

0

python trim leading whitespace

>>> '     hello world!'.lstrip()
'hello world!'
Posted by: Guest on May-31-2021

Code answers related to "how to remove leading whitespace from a string in the python"

Python Answers by Framework

Browse Popular Code Answers by Language