aspose file tools*
The moose likes Beginning Java and the fly likes counting letters in a substring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "counting letters in a substring" Watch "counting letters in a substring" New topic
Author

counting letters in a substring

GitaLakshmi Mandal
Greenhorn

Joined: Mar 27, 2003
Posts: 2
I am trying to count letters in a word for example "how do you do". I want to count how many three letters word. How can I do that using stringtokenizer. Someone could help me!
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi GitaLakshmi,
Welcome to JavaRanch. Maybe something like this:

Michael Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: counting letters in a substring