diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 9a6155c8a81..8108c5eb468 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.