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
commit 20e24bd2bb
No known key found for this signature in database
GPG key ID: C3336907360768E1
6 changed files with 36 additions and 0 deletions

View file

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