classes/class_string #165
Replies: 1 comment 1 reply
-
|
It is not entirely clear, but the replace method (and I'm assuming several others that I haven't tested) return a new string, they do not alter the original. I know that is often the case and probably assumed by most, but just wanted to make that clear for anyone that might not have found that obvious. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
classes/class_string
A built-in type for strings. Description: This is the built-in string Variant type (and the one used by GDScript). Strings may contain any number of Unicode characters, and expose methods useful fo...
https://docs.godotengine.org/en/stable/classes/class_string.html
Beta Was this translation helpful? Give feedback.
All reactions