Re: GetWords
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60183
interpreted = N
texte = You could use a breakdown with [ListChars] (requires 6.0) and put it all back together. Seems getho to me and I am sure there is a slick way to use Grep for this or some other neat trick.Good luck----- Original Message ----- From: "Clint Davis"
To: "WebDNA Talk" Sent: Wednesday, November 24, 2004 12:10 PMSubject: Re: GetWords>>>> 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/ -------------------------------------------------------------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:
You could use a breakdown with [listchars] (requires 6.0) and put it all back together. Seems getho to me and I am sure there is a slick way to use Grep for this or some other neat trick.Good luck----- Original Message ----- From: "Clint Davis" To: "WebDNA Talk" Sent: Wednesday, November 24, 2004 12:10 PMSubject: Re: GetWords>>>> 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/ -------------------------------------------------------------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/
"WebDna @ Inkblot Media"
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:
Help! WebCat2 bug (1997)
WebCatalog for Postcards ? (1997)
Multi vendor shop (2000)
RequiredFields template (1997)
authorize.net hex coded variables (2002)
[/application] error? (1997)
WebCat2 several catalogs? (1997)
Strange intermittent WebDNA problems (2008)
searches with dash, period etc. (2000)
WebCat2 - [SendNews] (1997)
Locking up with WebCatalog... (1997)
random random links (1999)
[OT] PHP?MySQL Help Needed (2003)
too many nested [xxx] (1997)
help with duplicate records posted (1998)
OK, here goes... (1997)
Running a store on BOTH http and https (1998)
Progress Bar (2004)
flash-wc (2000)
What am I missing (1997)