/sys$common/syshlp/TPUHELP.HLB  —  NOTANY
  NOTANY

     Returns a pattern that matches one or more characters that are not in
     the set of characters specified by the string, range, or buffer that is
     used as a parameter.

  Syntax

     pattern := NOTANY ({string | range | buffer} [, integer1])

  Parameters

     string               A quoted string or an expression that evaluates to
                          a string.  NOTANY matches any character not in the
                          set of characters contained in the string.

     range                A range or an expression that evaluates to a
                          range.  NOTANY matches any character not in the
                          set of characters contained in the range.

     buffer               A buffer or an expression that evaluates to a
                          buffer.  NOTANY matches any character not in the
                          set of characters contained in the buffer.

     integer1             An integer indicating how many contiguous
                          characters NOTANY is to match.  The default is 1.

  Comments

     The text to be searched must all appear on one line; NOTANY does not
     span line breaks.

  Example

     pat1 := NOTANY ('XYZ')

     This assignment statement creates a pattern that will match the first
     character that is not in the set of characters consisting of (X, Y, and
     Z).  The match will fail if no characters other than X, Y, or Z are
     found.

  Related Topics

     ANY    SCAN    SCANL    SEARCH    SEARCH_QUIETLY
Close Help