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")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns a string that is the string s reversed.
 
Returns a string that is the string s reversed.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = string.reverse(s)
 
(string) = string.reverse(s)
 
</source>
 
</source>

Revision as of 14:31, 13 July 2023

Available since: Gideros 2022.1
Class: string

Description

Returns a string that is the string s reversed. <syntaxhighlight lang="lua"> (string) = string.reverse(s) </source>

Parameters

s: (string) string to reverse

Return values

Returns (string) the string s reversed