Closed EwanRoycroft closed 2 years ago
Using ' ' would only search for the first instance of a space, and then exit. Using / /g looks for all spaces in the string and doesn't exit after the first match.
Resolves: #14
Thanks for your contribution. It's been closed by 1160f95b09fb9dbe3e386c3de81b55ece7d90a48.
Using ' ' would only search for the first instance of a space, and then exit. Using / /g looks for all spaces in the string and doesn't exit after the first match.
Resolves: #14