Alas, I found a slight flaw with Split ;-(
Oh wait if I trimmed test$, yes I do have a value for first = lower bound index in array, OK :)
Split
_TRIM$(test$
), " ", p$
()noGoodF = 0
IF p$
(i
) = p$
(j
) THEN noGoodF
= -1 PRINT "No Good": NoGood
= NoGood
+ 1 PRINT "Good!": good
= good
+ 1 testN = testN + 1
PRINT "Good"; good;
", No Good"; NoGood
curpos
= 1: arrpos
= LBOUND(loadMeArray
): LD
= LEN(delim
) dpos
= INSTR(curpos
, SplitMeString
, delim
) loadMeArray
(arrpos
) = MID$(SplitMeString
, curpos
, dpos
- curpos
) arrpos = arrpos + 1
curpos = dpos + LD
dpos
= INSTR(curpos
, SplitMeString
, delim
) loadMeArray
(arrpos
) = MID$(SplitMeString
, curpos
)
That's better use of split.