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

Manual Content: string_replace() and string_replace_all() pages have the first argument documented incorrectly #7782

Closed
gm-bug-reporter bot opened this issue Sep 26, 2024 · 1 comment
Assignees
Labels
docs-bug GameMaker Manual Bugs

Comments

@gm-bug-reporter
Copy link

Description

The documentation of string_replace() and string_replace_all() has the wrong description for parameter 1.
str is not "The string to be copied."
str is supposed to be "The string to be parsed."

Manual Link

http://127.0.0.1:51290/index.htm#t=GameMaker_Language%2FGML_Reference%2FStrings%2Fstring_replace.htm

Which version of GameMaker are you reporting this issue for?

IDE v2024.6.2.162 Runtime v2024.6.1.208

Which operating system(s) are you seeing the problem on?

Windows 10.0.22621.0

6f2bda79-dd92-45f7-a22b-d7aca2e51d4e

@gm-bug-reporter gm-bug-reporter bot added the docs-bug GameMaker Manual Bugs label Sep 26, 2024
@gnysek
Copy link
Contributor

gnysek commented Sep 26, 2024

Is it possible that you're using outdated "local" manual (means "use online manual" unchecked in Preferences > General > Help) ?
obraz

Seems that string_replace and string_replace_all doesn't have mentioned examples.

Also, description in GameMaker for those functions seems to be ok:
obraz

@stuckie stuckie moved this from Triage to Backlog in Team Workload Sep 26, 2024
@YYDan YYDan changed the title Error in variable description Manual Content: string_replace() and string_replace_all() pages have the first argument documented incorrectly Sep 26, 2024
gurpreetsinghmatharoo added a commit to YoYoGames/GameMaker-Manual that referenced this issue Oct 1, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Oct 1, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-bug GameMaker Manual Bugs
Projects
Status: Ready for QA
Development

No branches or pull requests

2 participants