summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-08-16 16:53:40 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-08-16 16:53:40 +0200
commit20e24bd2bb033d3fe019bd2a1a8c4f1590c1399b (patch)
treedeba7be1213d13ea6fc63c4874fd35178638ce0e /doc/classes
parent3518a30674afed7d1e69fb260e7826eb9eda0a7f (diff)
parent230385b5875643c2e162e6c4d2a27aaef95e1cc8 (diff)
downloadredot-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.xml6
-rw-r--r--doc/classes/StringName.xml6
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" />