diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-26 20:17:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-26 20:17:58 +0100 |
commit | 299ad650416590028a40ef0792f044aa0ba9a296 (patch) | |
tree | 3b654201b3a2f79c3f93f3abea0598e7535288eb | |
parent | 188ca5470b11222f3caf27082cfadce861dbaa60 (diff) | |
parent | e7fd0ec31f29b325edf0e17e8ba77a3ba0741d08 (diff) |
Merge pull request #59547 from akien-mga/doc-string-fix-rsplit
-rw-r--r-- | doc/classes/String.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 9a6155c8a8..8108c5eb46 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -633,8 +633,8 @@ var some_string = "One,Two,Three,Four" var some_array = some_string.rsplit(",", true, 1) print(some_array.size()) # Prints 2 - print(some_array[0]) # Prints "Four" - print(some_array[1]) # Prints "Three,Two,One" + print(some_array[0]) # Prints "One,Two,Three" + print(some_array[1]) # Prints "Four" [/gdscript] [csharp] // There is no Rsplit. |