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: 20ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7