I have strings with extra whitespace characters. Each time there’s more than one whitespace, I’d like it be only one. How can I do this using JavaScript?

11 Answers
11

Leave a Reply

Your email address will not be published. Required fields are marked *