Background for Skyrim SE
Member of the DynamicStringArrays script
string[]functionRemove(string[]akArray, stringToRemove, boolFirst=true)

Description

Documentation Comment

Find the ToRemove element in the akArray and remove it, returning the shortened array.
If First == true (default) finds first instance of ToRemove, otherwise finds last instance of ToRemove (rFind)


Caveats


Parameters

string[]akArray

stringToRemove

boolFirst=true


Examples

Auto-Generated Example

string[] myStringArray__akArray
string myString__ToRemove
bool myBool__First

string[] returnedValue = myDynamicStringArrays__toCallFunctionOn.Remove(myStringArray__akArray, myString__ToRemove, myBool__First)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.