Background for Skyrim SE
Member of the LibFire script
stringfunctionFormatString(stringasFormat, string[]argValues)NativeGlobal

Description

Documentation Comment

Replaces {} tokens in asFormat with argValues (supports up to 9 values)
Note: Arrays exceeding the maximum number of values will be truncated.
Syntax: https://fmt.dev/latest/syntax.html


Caveats


Parameters

stringasFormat

string[]argValues


Examples

Auto-Generated Example

string myString__asFormat
string[] myStringArray__argValues

string returnedValue = LibFire.FormatString(myString__asFormat, myStringArray__argValues)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.