Background for Skyrim SE
Member of the DbMiscFunctions script
stringfunctionAddPrefixToString(strings, stringPrefix, boolOnlyIfNotPresent=true)Global

Description

Documentation Comment

Add prefix to string s and return new string
If OnlyIfNotPresent == true (default) only adds the prefix if it's not already present.
Requires skse


Caveats


Parameters

strings

stringPrefix

boolOnlyIfNotPresent=true


Examples

Auto-Generated Example

string myString__s
string myString__Prefix
bool myBool__OnlyIfNotPresent

string returnedValue = DbMiscFunctions.AddPrefixToString(myString__s, myString__Prefix, myBool__OnlyIfNotPresent)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.