Skip to content

Conversation

ursulabauer
Copy link

I’ve updated the function to ensure that all spaces in a string are replaced, not just the first one.

Previously, the regular expression was only targeting the first space, but now, with the global flag (/ /g), it correctly replaces every space in the string.

This change makes the function work as expected for strings with multiple spaces.

Copy link

vercel bot commented Feb 10, 2025

@ursulabauer is attempting to deploy a commit to the Eclipse Labs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant