EmEditor (text editor) Forum Index
   Questions and Answers about Macros
     Want to replace number for each line as ascending or descending!!
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
David
Posted on: 12/24/2009 1:05 am
Just popping in
Joined: 2/15/2009
From:
Posts: 5
Want to replace number for each line as ascending or descending!!
Dear Sir,

I'll appreciate you very much if you can help me solve this headachy problem.

I often handle the data as the following format:
PartNo1="A"
PartNo2="B"
PartNo3="C"
.............
(Numbers of line are not fixed, more than 500 lines generally)

I want to change the number in each row as ascending or descending until the last line.But the start number is variable.
For example:

Chang to:
(Start number is 10)
PartNo10="A"
PartNo11="B"
PartNo12="C"

or
(Start number is 22)
PartNo22="A"
PartNo23="B"
PartNo24="C"
Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文