"Gets confused", "behaving badly" ??? Do you have a code example?
For example what does your version do with this?
For example what does your version do with this?
Code: (Select All)
s$ = "1, 2, 3, 4, 5, 6"
p = InStr(s$, ", ")
While p
Print p
p = InStr(p + 2, s$, ", ")
Wend
b = b + ...