| User: editor -- 2011-06-06 << 793 795 >> |
| Hits: 3669 |
| Type: Count and statistics |
| Search all Count and statistics examples |
| Description: |
| How to count number of each intial letters in all words in a text file? |
| Input Sample: |
| This is a test for inital letters |
| Output Sample: |
| 2 i 2 t 1 l 1 a 1 f |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. open 'Tools->Pattern Counter' menu 2. select "File/http", and choose the file in the following entry 3. click "Clear" to clear default pattern 4. click "Add" to add a new pattern, set "pattern=>" field to: then click "ok" 5. check option of "ignore case", "regular exp" 6. select the new create pattern, and click "Detail" 7. click "copy" to copy the result to clipboard. |
Screenshot 1: Pattern_Counter_Window |