0
I hava word count program in java
Some one line how many times paint word
2 Respostas
+ 1
If you'd like to count the words I recomented to use the split method on string like this:
String words = "hello world";
int count = words.split(" ").length;
The split return an array which contains the word, and you need to call the length, which is return the array's length, which is the words count
0
Hi, so you have a word counter program....
And what is the problem?
and show me your code, if it is neccesary