Based on the code below, why does the variable pos keep
coming up to 1 (indicating a match) when there is no
obvious match between the contents of variable 'transit'
and second element contained in myarray?
Function CompareOSDTransitsToOriginator()
dim myArray
OSDTransits = "44444,33333,55555,22222"
transit = "00968"
myArray = Split (OSDTransits,",")
msgbox myArray(1) ' which is "33333"
pos = instr(1, myArray(1), transit, 1)
if pos > "0" then
msgbox("Match found...")
else
msgbox("NO Match...")
end if
msgbox pos
End Function