This statement returns a -1, indicating "not found":
Find1 = Array.IndexOf(F ilesArray, "sa001")
But IndexOf on a specific item in that array returns a value of 26:
Find1 = FilesArray(2).I ndexOf("sa001")
This shows the value "sa001" is found in FilesArray.
Any suggestions why Array.IndexOf does not return a number (index of
item that has the value)?
Thanks,
Al
Comment