Click here to Skip to main content
13,351,731 members (44,206 online)
Click here to Skip to main content

Stats

2.6K views
1 bookmarked
Posted 6 Dec 2011

Don't count spaces when counting words.

, 6 Dec 2011
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...

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