0% found this document useful (0 votes)
484 views1 page

Jbase Editor Find and Replace

The document summarizes the find and replace text functionality in the jbase editor. It allows replacing any occurrence of a string on any line from the command line or in overwrite mode. The command syntax includes options to replace all occurrences on the current line, specify the number of lines to perform replacement on, and use delimiters to separate the search and replacement strings. Examples are provided to demonstrate replacing text on the current or multiple lines.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
484 views1 page

Jbase Editor Find and Replace

The document summarizes the find and replace text functionality in the jbase editor. It allows replacing any occurrence of a string on any line from the command line or in overwrite mode. The command syntax includes options to replace all occurrences on the current line, specify the number of lines to perform replacement on, and use delimiters to separate the search and replacement strings. Examples are provided to demonstrate replacing text on the current or multiple lines.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

find and replace text in jbase editor.

The editor allows the user to replace any occurrence of a string on any line wit h another from the Command line. This is in addition to the overwrite mode. The Command Syntax is as follows: R{U}{nnn}dstring1dstring2{doption} U Replaces ALL occurrences of string1 with string2 on the current line only. nnn A numeric value for the number of lines, starting from the current one, over whi ch to perform the replace operation. If this optional parameter is specified and more than a single occurrence of string1 is found then all replacements are lis ted beneath the current editing screen. d is the delimiter character used to sep arate the string values. It can be any character not in either of the strings. string1 The string that is to be replaced. string2 The replacement string, which can be shorter or longer than the original. EXAMPLES R/ABC/DEF Replaces the first occurrence (reading from the left) of ABC in the current line with DEF. R9/*/! Replace on the next 9 lines, the first occurrence on the line of "*" with a "!". The changed lines are displayed before moving on. RU9/*/! Replace any occurrence of "*" with "!" over nine lines (the current line and the next 8). R999//*/F Starting at the first line place a "*" character on every line; all modified lin es are shown before returning to the original line. R/^/AM/* All occurrences of the "^" character on the line are replaced with "AM". R9/*// Removes (replaces with null) the first occurrence of "*" on the next nine lines. R/x//10 Removes the first 10 "x" characters on the current line.

You might also like