Sv Erase

From the Oblivion ConstructionSet Wiki
Revision as of 18:57, 28 August 2010 by imported>LogicDragon (Removed Automaton Message)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(void) sv_Erase variable:string_var startPos:short numToErase:short

Erases the specified number of characters from a string starting at the specified position. If omitted, startPos = 0. Omitting numToErase erases all characters from startPos to the end of the string.