Sv Insert
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Inserts a formattable string (or string variable) into a target string variable at a given position. The target string variable is modified in place, and this function returns nothing.
Syntax
(none) Sv_Insert Insertion:string Formatting Target:string Position:int
Example
string_var my_string let my_string := "he building in there?" Sv_Insert "What's ", my_string, 0 ; * my_string == "What's he building in there?" ; (length = 28) Sv_Insert ", %n" SunnyREF, my_string, 26 ; * my_string == "What's he building in there, Sunny Smiles?"