LSE$HELP.HLB  —  PATTERN_EXACT_SUBSTITUTE
  Syntax:  PATTERN EXACT SUBSTITUTE pattern_search_string
              replace_string substitute_type

  Searches for a string that matches the wildcard string and replaces
  it with the text exactly as specified in the replace string.

  This command enables you to specify wildcard patterns in the search
  string, then replace the string of characters meeting the search
  criteria with exactly the characters specified in the replace string.
  Use the SET SEARCH PATTERN command to specify the style of wildcard
  patterns (VMS, ULTRIX or TPU).

  LSE prompts you for confirmation before the replacement is made.  If
  you specify the parameter value all at the confirmation prompt, all
  occurrences of the search string are replaced with the replace
  string.

  For the TPU pattern style the pattern_search_string is a TPU
  expression which must evaluate to a TPU pattern (for example:  "'abc'
  | 'def'") and the replace_string is a TPU expression which must
  evaluate to a TPU string (for example:  "'xyz'").

  For details of the pattern styles use the command HELP PATTERNS.

  RELATED COMMANDS:

     EXACT SUBSTITUTE            SEARCH commands
     PATTERN SEARCH              SET SEARCH commands
     PATTERN SUBSTITUTE          SUBSTITUTE
Close Help