Moderator: Mmiscool
there is the function 'word()' that can help you for that.
Mike (MMISCOOL) put this function recently for that.
Anyway I think that the start parameter can be done.
I was thinking also a instrrev() like in VB to search from the end.
Hey, rather than mess with instr(), why not create a similar PARSE(string, delimiter, occurance) function that would be almost the same, but the third parameter OCCURANCE could also be a negative number, therefore allowing parsing the string from either direction for the appropriate occurance of the delimiter rather than its relative location?
B.T.W. It might be worth adding a note for right() in the Lang Ref just to explain that the start number is counting from the end and not the beginning - cos that's taken me quite a while to figure out.
Next time someone is updating the Lang Ref it would probably be worth updating the word() explanation from "Will return the unique id of the chip." to something like "Will return a whole word from its specified position in the string."