Re: Question about replacing words
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19662
interpreted = N
texte = >If I had to guess, I'd try something like this:>>[Loop start=1&end=[CountWords][MyField][/CountWords]]>[math show=f]displayed=0[/math]> [ShowIf [ListWords start=[index]&end=[index]][MyField][/ListWords]=mytext]> my other text> [math show=f]displayed=1[/math]> [/ShowIf]> [HideIf [math]displayed[/math]=1]> [ListWords start=[index]&end=[index]][MyField][/ListWords]> [/HideIf]>[/Loop]>>There are probably more efficient ways to do it, but this should work.Hi Dave,Grant replied on the beta-talk list, presumeably because these features are not in the currently shipping version of WebCatalog. I think the discussion is continuing on that list instead of here ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>If I had to guess, I'd try something like this:>>[Loop start=1&end=
[countwords][MyField][/CountWords]]>[math show=f]displayed=0[/math]> [ShowIf [ListWords start=[index]&end=[index]][MyField][/ListWords]=mytext]> my other text> [math show=f]displayed=1[/math]> [/ShowIf]> [HideIf
[math]displayed[/math]=1]> [ListWords start=[index]&end=[index]][MyField][/ListWords]> [/HideIf]>[/Loop]>>There are probably more efficient ways to do it, but this should work.Hi Dave,Grant replied on the beta-
Talk List, presumeably because these features are not in the currently shipping version of WebCatalog. I think the discussion is continuing on that list instead of here ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
SKU lookup (1997)
Cart questions (1997)
RE: Answer: WebDelivery downloads alias, not original ? (1997)
Setting a range in a search (1998)
[WebDNA] Accepting Payments on Site (2013)
Re:Variable Math (1998)
Help name our technology! (1997)
HTML editing and webcatalog (2000)
Fwd: FW: Purchase Command error (1997)
cart info (1998)
WebCat editing, SiteGuard & SiteEdit (1997)
Mac v. NT (1998)
Rhapsody? (1997)
WebCat2 several catalogs? (1997)
Major Security Hole (1998)
WebCat2 - [format thousands] (1997)
WebCat2 Append problem (B14Macacgi) (1997)
Mac GUI editors (1997)
Help! WebCat2 bug (1997)
Database field limit? (1998)