diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-16 16:53:40 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-16 16:53:40 +0200 |
commit | 20e24bd2bb033d3fe019bd2a1a8c4f1590c1399b (patch) | |
tree | deba7be1213d13ea6fc63c4874fd35178638ce0e /doc/classes | |
parent | 3518a30674afed7d1e69fb260e7826eb9eda0a7f (diff) | |
parent | 230385b5875643c2e162e6c4d2a27aaef95e1cc8 (diff) | |
download | redot-engine-20e24bd2bb033d3fe019bd2a1a8c4f1590c1399b.tar.gz |
Merge pull request #78529 from Chaosus/string_reverse
Add `String.reverse` method
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/String.xml | 6 | ||||
-rw-r--r-- | doc/classes/StringName.xml | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 913f2f2654..9c31576b72 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -720,6 +720,12 @@ Replaces all [b]case-insensitive[/b] occurrences of [param what] inside the string with the given [param forwhat]. </description> </method> + <method name="reverse" qualifiers="const"> + <return type="String" /> + <description> + Returns the copy of this string in reverse order. + </description> + </method> <method name="rfind" qualifiers="const"> <return type="int" /> <param index="0" name="what" type="String" /> diff --git a/doc/classes/StringName.xml b/doc/classes/StringName.xml index 0814a30a8d..1c5032be9b 100644 --- a/doc/classes/StringName.xml +++ b/doc/classes/StringName.xml @@ -627,6 +627,12 @@ Replaces all [b]case-insensitive[/b] occurrences of [param what] inside the string with the given [param forwhat]. </description> </method> + <method name="reverse" qualifiers="const"> + <return type="String" /> + <description> + Returns the copy of this string in reverse order. + </description> + </method> <method name="rfind" qualifiers="const"> <return type="int" /> <param index="0" name="what" type="String" /> |