Could someone help java code to read number of lines, words and characrters in paragragh .
stopah2008
0
Newbie Poster
Recommended Answers
Jump to PostCould someone help java code to read number of lines, words and characrters in paragragh .
You can count how may times the \n appears in the paragraph for lines.
For characters the total length of the paragraph String minus the characters: " ", " ", " ", ...
For …
All 4 Replies
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
yilmazhuseyin
16
Light Poster
j.khan545
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
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.