Background for Skyrim SE
Member of the DbMiscFunctions script
stringfunctionStringInsert(stringTargetStr, stringInsertStr, intCharPosition=-1)Global

Description

Documentation Comment

insert the InsertStr to the TargetStr at the CharPosition and return new string.
if CharPosition == -1, appends the InsertStr to the end of TargetStr


Caveats


Parameters

stringTargetStr

stringInsertStr

intCharPosition=-1


Examples

Auto-Generated Example

string myString__TargetStr
string myString__InsertStr
int myInt__CharPosition

string returnedValue = DbMiscFunctions.StringInsert(myString__TargetStr, myString__InsertStr, myInt__CharPosition)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.