Can somebody create a script for UltraEdit/UEStudio with sequence with four digit identifier?
Maximum ID length limit is 4.
If id is 1 then sequence should be 0001.
And if id is 11 then sequence should be 0011.
If id is 1000 then sequence should be 1000.
The sample tag: <section xml:id="c01-sec-000@">
Actual id sequence like this:
1 to 9:
10 to 1000:
Maximum ID length limit is 4.
If id is 1 then sequence should be 0001.
And if id is 11 then sequence should be 0011.
If id is 1000 then sequence should be 1000.
The sample tag: <section xml:id="c01-sec-000@">
Code: Select all
<section xml:id="c01-sec-0001">
<section xml:id="c01-sec-0002">
<section xml:id="c01-sec-0003">
<section xml:id="c01-sec-0004">
<section xml:id="c01-sec-0005">
<section xml:id="c01-sec-0006">
<section xml:id="c01-sec-0007">
<section xml:id="c01-sec-0008">
<section xml:id="c01-sec-0009">
<section xml:id="c01-sec-0010">
<section xml:id="c01-sec-0011">
1 to 9:
Code: Select all
[0001]
[0002]
[0003]
[0004]
[0005]
[0006]
[0007]
[0008]
[0009]
Code: Select all
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[9999]
[1000]