Re: GetWords
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60182
interpreted = N
texte = On 11/24/04 1:45 PM, "Joe D'Andrea"
wrote:> At 1:34 PM -0600 11/24/04, Clint Davis wrote:>> I need to extract the first sentence out of a block of text. The sentence>> will end with a period, exclamation point, or question mark followed by a>> space. May be a job for [grep]. Any ideas?> > > [listwords] when use with "delimiters" can redefine the meaning of what a word> is.> > > [listwords words=[your words go here]&delimiters=.!?]> [showif [index]=1]> The first sentence is: [word]> [/showif]> [/listwords]This also won't work if my sentence contains a period in the middle.Example: Do you have 2.2 children?-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
On 11/24/04 1:45 PM, "Joe D'Andrea" wrote:> At 1:34 PM -0600 11/24/04, Clint Davis wrote:>> I need to extract the first sentence out of a block of text. The sentence>> will end with a period, exclamation point, or question mark followed by a>> space. May be a job for [grep]. Any ideas?> > > [listwords] when use with "delimiters" can redefine the meaning of what a word> is.> > > [listwords words=[your words go here]&delimiters=.!?]> [showif [index]=1]> The first sentence is: [word]> [/showif]> [/listwords]This also won't work if my sentence contains a period in the middle.Example: Do you have 2.2 children?-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Clint Davis
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:
Setting up WebCatalog with Retail Pro data (1996)
WebCat cannot handle compatible search parameters? (1997)
WebStar Directory Indexer (was:hidden databases) (2000)
WebCat2 - Getting to the browser's username/password data (1997)
Type 11 errors setting up WebCAt 2 (1997)
two domains and one cart and database (2000)
NEW INFO: I'm stuck: Can't open order (2000)
No Line Breaks from OSX server (more) (2002)
PIXO support (1997)
HELP WITH DATES (1997)
Quiestion (1997)
international time (1997)
Math Context (1998)
WebCat3.04/w*4/OS8.5.1 and aliases (1999)
2.0 Info (1997)
FM PRO Compatibility Issue - Single Database w/o Conversions (1997)
RE: [WebDNA] webdna.us (2008)
sort (2000)
Non-repeating Random Numbers - CORRECTION (2002)
WebCat2 beta 11 - new prefs ... (1997)