Utf8.reverse
From Multi Theft Auto: Wiki
Reverses the input string.
Syntax
string utf8.reverse ( string input )
Required Arguments
- input: A string character sequence
Returns
Returns a string containing the reversed original UTF-8 string.
Example
Click to collapse [-]
ClientThis example shows how to reverse a UTF-8 string.
local input = "今日は素晴らしい日です" local output = utf8.reverse( input ) outputConsole( output ) -- すで日いしら晴素は日今