Ok, im feeling nice(and bored), so here ya go:
FUNCTION:
function ParseData(entry as string,split as string,record as integer)
temp = 1
count = 1
for run=1 to record
for x = count to len(entry)
if mid$(entry,x) = split then exit
next x
substr$=left$(entry,x-1)
entry=right$(entry,len(entry)-x)
count = x-1
inc temp
next run
if substr$="" then substr$="Record Number Not Valid"
endfunction substr$
CALL:
ParseData(fullSTRING$,splitCHAR$,record)
EXAMPLE CODE:
sync on : sync rate 0
set cursor 5,5
print ParseData("Entry#1*ENTRY#2*ENTRY#3*YOU_GET_THE_POINT","*",3)
suspend for key
function ParseData(entry as string,split as string,record as integer)
temp = 1
count = 1
for run=1 to record
for x = count to len(entry)
if mid$(entry,x) = split then exit
next x
substr$=left$(entry,x-1)
entry=right$(entry,len(entry)-x)
count = x-1
inc temp
next run
if substr$="" then substr$="Record Number Not Valid"
endfunction substr$
[EDIT]
Will return "Record Number Not Valid" if you enter a record number higher than exists.
Digitalmodr
Coder_David
[Apolloed ]