Difference between revisions of "String.reverse"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2022.1<br/> '''Class:''' string<br/> === Description === Returns a string that is the string s reversed. <source lang="lua"> (str...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns a string that is the string s reversed. | Returns a string that is the string s reversed. | ||
− | < | + | <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