Syntax: SUBSTITUTE search_string replace_string substitute_type Replaces occurrences of one text string with another. This command replaces an occurrence of a search string with the specified replace string. It searches for the string in the current direction. LSE performs case matching when replacing text. For example, if a word in a search string is all uppercase, all the letters in the corresponding replace string become uppercase. LSE prompts you for confirmation before the replacement is made. If you specify the parameter value all in response to the confirmation prompt, all occurrences of the search string are replaced with the replace string. RELATED COMMANDS: EXACT SUBSTITUTE SEARCH PATTERN EXACT SUBSTITUTE SET SEARCH commands PATTERN SUBSTITUTE