Position

Function:

Returns the position of a substring within a given string.

Syntax:

Position(Substring, String)

Example:

 Let I=Position(another, This is another string.)

Notes:

NEW - The Position command will now recognize commas as part of a string if the string is enclosed within quotes.

 

EXAMPLE:

let line="All kinds of files; txt, doc, rtf, wrd, and more"

Let I=Position(doc, "%%line%%")

message "%%I%%"