Previous Topic: REPLACE

Next Topic: SKIP

SCAN

SCAN searches the current line for the string specified by the FOR parameter.

)

{SCAN | SCN}

 

 

[FOR = <text>]
[OCCURRENCE = {FIRST | LAST | <nn>}]

where:

<text>

<nn>

Can be up to 60 characters long and is case sensitive.

Is the occurrence (up to 70) of the FOR text being scanned for.