Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

605.Count and statistics -- How to count the number of ( A )...( F ) from a text file of survey?

User: editor -- 2010-09-06          << 604  606 >>
Hits: 320
Type: Count and statistics   
Search all Count and statistics examples
Description:
How to count the number of ( A )...( F ) from a text file of survey?
Input Sample:
1...... user selection is ( B )
A..... B..... C.....
D..... E..... F.....

2...... user selection is ( C )
A..... B..... C.....
D..... E..... F.....

....
Output Sample:
( A ) : 238
( B ) : 190
( C ) : ..
...
( F ) : ..
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open the text file that contain survey data
2. open "Tools->Pattern Counter" menu
* click "Clear" button to clear any default pattern
* click "Add":
fill "Name" as 
fill "Pattern" as:

click "OK"
* make sure "Regular Exp" option is checked.
3. select the newly added record, and click "Detail", all items will be listed with detailed numbers.

Screenshot 1:  Pattern_Counter_Window


Similar Examples:
How to count number of digits(0-9) in a text file? (69%)
How to count number of words appeared in a text file? (65%)
How to count the number of words that start with "ea" in a text file? (63%)
How to count the number of words that ended with "ing" in a text file? (62%)
How to replace all the numbers in a text file to the square value? (62%)
How to count the number of records for each month in a web log file? (59%)
How to count the occurrence of a list of words in a text file? (58%)
How to count the number of Unique IP address from a web log file? (58%)

Check Demo of Count and statistics
Keywords:
record  pattern counter  counter  statistics  statist  ics  count  numbers  tem  data  button click count  statistics text file  count the is  count file  text to numbers  with number  file number  from a file