contents.gifprev1.gifnext1.gif

SCANL

Description:

SCANL stops when it reaches a character not provided in the parameter text. The longest possible matching pattern can cross line boundaries. Use SCAN to prohibit crossing line boundaries.

Syntax:

pattern := SCANL ( {buffer/range/string} )

Example:

The following finds the longest pattern containing only non-digits:

hello := SCANL ("0123456789");

Related Builtins:

SCAN

SPAN