Type Function Library string.* Return value String Revision Release 2022.3683 Keywords string, reverse, flip See also String
Reverses a string.
string.reverse( s ) s:reverse()
String. The string to reverse.
print( string.reverse( "Corona" ) ) --> anoroC