Garry's Mod Wiki

string.reverse

string string.reverse( string str )

Description

Reverses a string.

Arguments

1 string str
The string to be reversed.

Returns

1 string
reversed string

Example

Reverse "abcdef".

print( string.reverse( "abcdef" ) )
Output: fedcba

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 5
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 12