| User: editor -- 2010-02-02 |
| Hits: 122 |
| Type: Random word generator |
| Search all Random word generator examples |
| Description: |
| How to add random digit/chars at the end of each line? Need to add 12 random digit and chars at the end of each line. |
| Input Sample: |
| test line1 this is test line2 this is line3 |
| Output Sample: |
| test line1 QQBp8OIepW7O this is test line2 T49W7r3H6Pvk this is line3 NMhNBF4h0nwp |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" to finish following steps. |
| 1. ctrl-o open source text file 2. ctrl-h open replace dialog * set "Replace Unit" to "Line" * enter "Replace with Pattern" to: 3. click 'Replace', done! Please refer to following address for function rand_str: http://www.mind-pioneer.com/replace/help/Functions.html |
| Download Script: scripts/410.rst.zip |
Similar Examples: |
| How to add a word "myword" at the end of each line? (70%) How to add a <BR> at the end of each line? (70%) How to add a semicolon at the end of each line? (66%) How to add all numbers by 30 after symbol ":" in each line ? (58%) How to add a space after the 15 character of each line? (58%) How to add a line number at the beginning of each line? (57%) How to replace the characters in fixed position in each line? (57%) How to sort many lines by comparing the second word in each line? (55%) |
Check Demo of Random word generator |