Click here to Skip to main content
12,881,671 members (32,174 online)
Click here to Skip to main content

Stats

2.1K views
1 bookmarked
Posted 6 Dec 2011

Don't count spaces when counting words.

, 6 Dec 2011 CPOL
This is less expensive:For any of the next strings, it gives 8:"Mr O'Brien-Smith arrived at 8.30 and spent \t $1,000.99"" Mr O'Brien-Smith arrived at 8.30 and spent \t $1,000.99""Mr O'Brien-Smith arrived at 8.30 and spent \t $1,000.99 "" Mr O'Brien-Smith arrived at 8.30 and...

Views

Downloads

License

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

Share

About the Author

FDW
Netherlands Netherlands
No Biography provided

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170422.1 | Last Updated 6 Dec 2011
Article Copyright 2011 by FDW
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid