Hie guys Iam looking for a java console application that accepts a string of 80 characters from a user and determine the number of words in the string taking care that there may be more than one spaces between words. The program should check that there is more than one word in the string and determine that how many characters the string will need to be of length 80.
ttchiwandire
0
Newbie Poster
Recommended Answers
Jump to PostString.split()
All 2 Replies
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.