My current situation:
I have an array, we'll call it "Array1[]". It contains the follow information:
[
"Not the value",
"Not the value",
"Not the value",
"The Value",
"Not the value"
]
Due to the nature of Array1[], the "The Value" will be in a different index on every run. What I am trying to figure out is how to find which index "The Value" is in (meaning, in this case, a function that would return "4").
I have tried to use filterArray() and got it to filter out all other indexies, is there someway I can use the output from filerArray() to derive the original index?
The reason I need this is that future operations will be dependent of relative indexies (e.g. If "The Value" is in Array1[4] then subtract Array1[3] from Array1[6])
I hope I explained it thourghly enough.
Thank you somuch for your help,
Justin Icenhour