Background for Fallout 4
Member of the StringUtil script
stringfunctionSubstring(stringasString, intaiStartIndex, intaiLength=0)NativeGlobal

Description

Documentation String

Returns a portion of the passed string beginning from the passed index, if length is 0, the rest of the string is returned


Parameters

  1. stringasString

  2. intaiStartIndex

  3. intaiLength=0


Examples

Auto-Generated Example

string myString__asString
int myInt__aiStartIndex
int myInt__aiLength

string returnedValue = StringUtil.Substring(myString__asString, myInt__aiStartIndex, myInt__aiLength)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.