Without using regular expressions, how can you convert blank spaces to
?
You can do it without regular expressions using
"This is a string".split(" ").join(" ");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With