Re: [countWords]?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14297
interpreted = N
texte = >Heh Grant, thanks for the [countChars] feature? How about [countWords]?If you're OK with US-English only, where a word is a sequence of letters A-Z,a-z and everything else is ignored, then it's pretty straightforward. It just gets tough when we start doing international, 2-byte, etc.I think the best way to handle all these special requests (because as soon as we add word-counting, someone's going to want [WordList]) is to stick GREP in there so you can define your own ways of peeling out what's interesting to you.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Heh Grant, thanks for the
[countchars] feature? How about
[countwords]?If you're OK with US-English only, where a word is a sequence of letters A-Z,a-z and everything else is ignored, then it's pretty straightforward. It just gets tough when we start doing international, 2-byte, etc.I think the best way to handle all these special requests (because as soon as we add word-counting, someone's going to want [WordList]) is to stick GREP in there so you can define your own ways of peeling out what's interesting to you.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Accepting credit cards (1997)
[WebDNA] tag [validcard] fails on webdna 7.0. Do I need the commerce edition? (2011)
japanese characters (1997)
[WebDNA] java class (2014)
Reminder... (2003)
[WebDNA] WebDNA crash and now emailer not working (2009)
unique ID (1997)
Test (2003)
randomness (1997)
if/then/else question (2000)
[listfiles] problems (1997)
Creating folders and deleting files (1997)
Wits end with this [sendmail] problem. ;) (2000)
WebCat for Unix?? (1997)
unique ascending numbers (2003)
Dubble Sku's in a Database (1999)
How To question on setting up downloads (1997)
[WebDNA] Error 500 with SUMM=T (2017)
Newbie question (1998)
Pithy questions on webcommerce & siteedit (1997)