Answers for "Remove any excess white spaces from within the sentence"

0

Remove any excess white spaces from within the sentence

//to remove duplicate whitespaces of all kinds, icluding beginning and ending of string
s = " ".join(s.split())
Posted by: Guest on March-22-2021

Code answers related to "Remove any excess white spaces from within the sentence"

Browse Popular Code Answers by Language