Program to count letters?

Live forum: http://forum.freeipodguide.com/viewtopic.php?t=19718

idrinklisterine

09-08-2005 17:43:37

Is there a program out there that will count how many of a certain letter is in a text file? Say, for example, that I want to know how many L's there are in a text file. Is there a program that can tell me this?

nusqax

09-08-2005 18:15:07

can't think of one on the top of my head, but if you know c++ or java, it'd be really easy to make a program yourself.

idrinklisterine

09-08-2005 18:16:24

lol, I'll give that a try. Hopefully my one year of high school programming will be enough.

hehehhehe

09-08-2005 18:35:36

Open it in Word, then do replace 'l' with whatever you want, and do replace all. When it's done it should say '29 words were replaced' or something like that so you'll know you have 29 l's.

liquidskin

09-08-2005 18:41:07

[quote85f13833bc="hehehhehe"]Open it in Word, then do replace 'l' with whatever you want, and do replace all. When it's done it should say '29 words were replaced' or something like that so you'll know you have 29 l's.[/quote85f13833bc]


good thinkin.

idrinklisterine

09-08-2005 19:07:35

Wow, good idea, +KMA for you.

hehehhehe

09-08-2005 19:25:59

Heh heh, thanks.

TheAlpaca

10-08-2005 07:45:29

[quote26fbf32d6b="hehehhehe"]Open it in Word, then do replace 'l' with whatever you want, and do replace all. When it's done it should say '29 words were replaced' or something like that so you'll know you have 29 l's.[/quote26fbf32d6b]

Can you do that in OpenOffice? MS, Boooooo.

D