n = ItemLocate(s$,i${,d$}) |
|
This command locates the position of the first item in a delimited string (s$) which equals the specified item (i$). As with all the delimited string functions the delimiter character (d$) is optional and will default to a comma if not specified. The first item in a delimited string is item zero. This is to match item number to array indexes. For example:
s$ = "zero,one,two,three,four"
|