Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

187.Text generator -- Is it possible to generate a full list of 'abcd','Abcd',... with each letter changed to uppercase or lowercase?

User: editor -- 2008-06-12
Hits: 178
Type: Text generator   
Search all Text generator examples
Description:
Is it possible to generate a full list of 'abcd','Abcd',... with each letter changed to uppercase or lowercase?
Output Sample:
abcd
Abcd
aBcd
...
ABCD
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
Use perl function to finish it:
1. ctrl-h open 'Replace' dialog 
select 'Advanced' page, 
set 'insert begin text' to: 

2. click 'Replace', the sequence is generated, save to your file. 

Note: join() and map() are perl functions. 
If you want to create sequences of other words, you can use other words in place of 'abcd'.
Download Script:  scripts/187.rst.zip

Similar Examples:
How to generate a full list from 'aaa' to 'zzz' with random order? (52%)
How to batch change filename from upper case to lower case? (50%)
Is it possible to remove/delete characters at specified location(such as 1,3,5) of each line? (45%)
What is the possible cause of file being truncated and very slow replacement? (44%)
How to delete the first word in each line in a text file? (43%)
How to change all the letters in a text file to upper cases? (42%)
How to replace the first 3 characters of each line to fixed characters and add 'a' at the end? (41%)
Replace first char of each line to upper case (41%)

Check Demo of Text generator