Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

nreverse

njlg edited this page Jan 13, 2013 · 1 revision

nreverse — Reverses a string

This is mostly used to test loading a function into the Squirrel VM.

Prototype

string nreverse( string in )

Parameters

in — The string to reverse

Return Values

A string that is the in string backwards.

Examples

print(nreverse("1234")) // output: 4321
Clone this wiki locally