utf8.reverse
Client-side
Server-side
Shared
This page is incomplete! Help wanted!
Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.
Reverses the input string.
Syntax
utf8.reverse ( )Code Examples
server
This example shows how to reverse a UTF-8 string.
local input = "今日は素晴らしい日です"local output = utf8.reverse( input )outputConsole( output ) -- すで日いしら晴素は日今