counting word occurances
- From: "Rodrick Brown" <rodrick.brown@xxxxxxxxx>
- Date: Wed, 01 Jun 2005 22:45:58 GMT
apple
orange
pear
pear
magno
apple
Given the following data can someone show me example code on how to count
how many of each different fruit
ie.
output should be somehting like
apple 2
orange 1
pear 1
mango 1
Note this isnt homework or anyting.
.
- Follow-Ups:
- Re: counting word occurances
- From: Jürgen Exner
- Re: counting word occurances
- From: Randal L. Schwartz
- Re: counting word occurances
- Next by Date: Re: counting word occurances
- Next by thread: Re: counting word occurances
- Index(es):
Relevant Pages
|
|