Merge pull request #78529 from Chaosus/string_reverse

Add `String.reverse` method
This commit is contained in:
Rémi Verschelde
2023-08-16 16:53:40 +02:00
6 changed files with 36 additions and 0 deletions

View File

@@ -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" />