ScriptEvent:strRight

From Mod Wiki
Revision as of 18:17, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

string text -- The string to work on.
integer limit -- The maximum number of characters to return.

Result

string

Supported By

sdSysCallThread

Comments

  • If there are not enough characters in the string, the whole string will be returned instead.

Functionality

Returns a string containing the rightmost characters from the input string, up to the limit specified.