I think I am (once again) missing something very basic here - perhaps array content having to be de-referenced or something?
(set: $_errorCodes to (array: "NA","NA","NA"))
(print: $_errorCodes's 1st)
(if: $_errorCode's 1st is "NA")[1st was "NA"]
(elseif: $_errorCode's 1st is not "NA")[1st was NOT "NA"]
(if: $_errorCode's 1st contains "NA")[1st contains NA]
comes out as
1st was NOT "NA"
Is there a way (in Harlowe) of figuring out if a string in a given array == another string? I've tried a few other variations of above (brackets or parenthesis around $_errorCode's 1st, not putting quotation marks around "NA", etc. no luck), the Harlowe documentation only talks about 'is', 'is not' and 'contains' (which, as above, does not work - contains having the added problem of not being a hard compare, so if a parameter was something like "Nature" it would come out as a match) I can't seem to find anything explicitly in the forums about this (though I'm sure someone's code must be doing it), and I don't want to necessarily check 'if a string is *anywhere* in the array' so much as at a specific index?