Quick tip:
Replace the LocateN with Locate, that's right remove the N (but keep the syntax). The Locate function appears to be overloaded to allow this functionality and the LocateN (which doesn't work) seems to be a leftover hanging around.
Locate(' ','one two three')
finds the first space ' ' in the string 'one two three', and here's the hidden part, starting from position 0 (zero).
LocateN(' ','one two three',5)
finds the first space ' ' in the string 'one two three' from position 5.
No comments:
Post a Comment