Background for Skyrim SE
Member of the DbMiscFunctions script
boolfunctionIsStringIndexBetween(strings, intIndex, stringStartKey, stringEndKey)Global

Description

Documentation Comment

is the index in string s between the StartKey and EndKey.
Example:
String s = "() (Some String)"
Bool b = DbMiscFunctions.IsStringIndexBetween(s, 4, "(", ")") ;true
Bool bb = DbMiscFunctions.IsStringIndexBetween(s, 2, "(", ")") ;false
Bool bbb = DbMiscFunctions.IsStringIndexBetween(s, 0, "(", ")") ;false
requires skse


Parameters

  1. strings

  2. intIndex

  3. stringStartKey

  4. stringEndKey


Examples

Auto-Generated Example

string myString__s
int myInt__Index
string myString__StartKey
string myString__EndKey

bool returnedValue = DbMiscFunctions.IsStringIndexBetween(myString__s, myInt__Index, myString__StartKey, myString__EndKey)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.