LOCSTR(arg1, arg2, arg3)

Locate string arg2 in string arg1 ignoring all characters before position arg3. The start position arg3 is optional and if omited searching begins at the first (left most) character of the string arg1. If the start position arg3 is negative, searching is performed backwards (i.e. from right to left).

The returned value indicates the start position of the string arg2 found in string arg1. Position 0 is the first character (the left most character), position 1 is the second character etc.

The value -1 is returned if the string arg2 cannot be found in the string arg1 (ignoring all characters before the start position).

e.g.
	LOCSTR("the quick brown fox jumps over the lazy dog", "the")

	will return the value 0

	LOCSTR("the quick brown fox jumps over the lazy dog", "the", 1)

	will return the value 31

	LOCSTR("the quick brown fox jumps over the lazy dog", "o", -1)

	will return the value 41

	LOCSTR("the quick brown fox jumps over the lazy dog", "o", -3)

	will return the value 26

	LOCSTR("the quick brown fox jumps over the lazy dog", "o")

	will return the value 12

	LOCSTR("the quick brown fox jumps over the lazy dog", "o", 13)

	will return the value 17