Answers for "python replace two spaces with one"

0

python replace two spaces with one

" ".join(filter(bool, mystring.split(" ")))
Posted by: Guest on July-05-2021

Code answers related to "python replace two spaces with one"

Python Answers by Framework

Browse Popular Code Answers by Language