Garry's Mod Wiki

string.reverse

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

Special Pages


Wikis

?

Render Time: 146ms

DB GetPage 52
Generate Html 2
SaveChanges (1) 83
Render Body 0
Render Sidebar 7