set %test_string THIS$IS$A$TEST$
gosub TM_SplitString %test_string $
gosub TM_SubstringCount
set %count #RESULT - 1
for %i 0 count
{
gosub TM_GetIndex %i
display OK %i , #SPC , #RESULT
}
stop
Event Property (id)
Str Pos #Property $ 1
Str Left #Property #strres
Display #Strres
Halt
ahahahaha, Its good to see the Community whipping out what they've got whenever someone asks for help. Wait.....