Difference between revisions of "String.reverse"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(string) = string.reverse(s) | (string) = string.reverse(s) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === |
Latest revision as of 14:33, 13 July 2023
Available since: Gideros 2022.1
Class: string
Description
Returns a string that is the string s reversed.
(string) = string.reverse(s)
Parameters
s: (string) string to reverse
Return values
Returns (string) the string s reversed