summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorYuri Roubinski <chaosus89@gmail.com>2023-06-21 20:40:48 +0300
committerYuri Roubinski <chaosus89@gmail.com>2023-06-21 20:40:48 +0300
commit230385b5875643c2e162e6c4d2a27aaef95e1cc8 (patch)
tree097b921e4ca343995af5c4cc4eec988c116ec4ff /doc/classes
parent28a60b3de02e8cfcc742a248078e6b7ee8f728b1 (diff)
downloadredot-engine-230385b5875643c2e162e6c4d2a27aaef95e1cc8.tar.gz
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 ca8d1d5255..91fc16c6a4 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 557f94b84a..56406a565d 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" />