Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string.replace odd behavior. #199

Open
confusedcatgirl opened this issue May 2, 2023 · 1 comment
Open

string.replace odd behavior. #199

confusedcatgirl opened this issue May 2, 2023 · 1 comment

Comments

@confusedcatgirl
Copy link

Some might already have noticed this:

The string.replace() function only replaces one letter. I would like that fixed to replace ALL letters, since it's annoying to call it multiple times to replace all letters.

@a2937
Copy link

a2937 commented Dec 25, 2024

That's a feature with regular Javascript though and not limited to just this game engine.

There is a string.replaceAll method.

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

No branches or pull requests

2 participants