Click here to Skip to main content
13,298,175 members (65,443 online)
Click here to Skip to main content


19 bookmarked
Posted 17 Mar 2010

Don't count spaces when counting words.

, 17 Oct 2011
Over the last couple of days I've seen numerous examples of people posting about how to count words in a sentence. Disturbingly, these postings recommend suggest counting the number of spaces in the sentence and use that as the basis of a word count.You may be asking why this is a problem. Well,...



Compare Revision Minor Date Status Editor
3 - publicly available No 17-Oct-11 23:57 Available zenwalker1985
2 No 17-Mar-10 13:59 Available Pete O'Hanlon
1 No 17-Mar-10 13:59 Composing Pete O'Hanlon


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Pete O'Hanlon
United Kingdom United Kingdom
A developer for over 30 years, I've been lucky enough to write articles and applications for Code Project as well as the Intel Ultimate Coder - Going Perceptual challenge. I live in the North East of England with 2 wonderful daughters and a wonderful wife.

I am not the Stig, but I do wish I had Lotus Tuned Suspension.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.171207.1 | Last Updated 18 Oct 2011
Article Copyright 2010 by Pete O'Hanlon
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid