replace multiple spaces with single space python

118

replace multiple spaces with single space python -

' '.join(myString.split())

Comments

Submit
0 Comments