Re: GetWords

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60181
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] I tried this, but there's a bug in [listwords] that won't allow me to place [delimiter] inside it. WebDNA does NOT print the delimiter. ------------------------------------------------------------- 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:

    
  1. Re: GetWords ( devaulw@onebox.com 2004)
  2. Re: GetWords ( Joe D'Andrea 2004)
  3. Re: GetWords ( Clint Davis 2004)
  4. Re: GetWords ( Joe D'Andrea 2004)
  5. Re: GetWords ( "WebDna @ Inkblot Media" 2004)
  6. Re: GetWords ( Clint Davis 2004)
  7. Re: GetWords ( Clint Davis 2004)
  8. Re: GetWords ( Joe D'Andrea 2004)
  9. GetWords ( Clint Davis 2004)
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] I tried this, but there's a bug in [listwords] that won't allow me to place [delimiter] inside it. WebDNA does NOT print the delimiter. ------------------------------------------------------------- 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:

Re:Help name our technology! (1997) Day of the week (2006) [convertchars] limits (1998) Searchable WebCat (etc.) Docs ? (1997) Multiple prices (1997) WebCat & WebTen (1997) Bug? (1997) Re1000001: Setting up shop (1997) Listserver problem (1997) Check boxes (1997) Replace context problem ... (1997) Shopping Cart Problems (2000) Email check problems (1999) PSC recommends what date format yr 2000??? (1997) Problems with [Search] param - Mac Plugin b15 (1997) [TaxableTotal] - not working with AOL and IE (1997) Help formatting search results w/ table (1997) Garbage display after 100 records (was WebCatalog usage) (1997) [Sum] function? (1997) If Empty ? (1997)