Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Don't count spaces when counting words.

, 25 Oct 2011 CPOL
I also use a Regex expression to count words, which returns the same number of words as MS Word. I wrap the Regular Expression in a String extension method to make it easy to use.public static class StringExtensions{ /// /// WordCounts Regular Expression /// ...



Compare Revision Minor Date Status Editor
2 - publicly available No 25-Oct-11 10:44 Available Smitha Vijayan
1 No 25-Oct-11 8:40 Composing Jacobs76


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


About the Author

Software Developer (Senior) Lionbridge
France France
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150327.1 | Last Updated 25 Oct 2011
Article Copyright 2011 by Jacobs76
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid