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 Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Question about replacing words (Peter Ostry 1998)
  2. Re: Question about replacing words (Kenneth Grome 1998)
  3. Re: Question about replacing words (Grant Hulbert 1998)
  4. Re: Question about replacing words (Peter Ostry 1998)
  5. Re: Question about replacing words (Kenneth Grome 1998)
  6. Re: Question about replacing words (Peter Ostry 1998)
  7. Re: Question about replacing words (PCS Technical Support 1998)
  8. Re: Question about replacing words (Kenneth Grome 1998)
  9. Re: Question about replacing words (Grant Hulbert 1998)
  10. Re: Question about replacing words (Kenneth Grome 1998)
  11. Re: Question about replacing words (Kenneth Grome 1998)
  12. Re: Question about replacing words (Kenneth Grome 1998)
  13. Re: Question about replacing words (Grant Hulbert 1998)
  14. Re: Question about replacing words (Christer Olsson 1998)
  15. Re: Question about replacing words (Alex McCombie - New World Media 1998)
  16. Re: Question about replacing words (Alex McCombie - New World Media 1998)
  17. Re: Question about replacing words (Dave MacLeay 1998)
  18. Re: Question about replacing words (Christer Olsson 1998)
  19. Re: Question about replacing words (Kenneth Grome 1998)
  20. Re: Question about replacing words (Alex McCombie - New World Media 1998)
  21. Re: Question about replacing words (PCS Technical Support 1998)
  22. Re: Question about replacing words (PCS Technical Support 1998)
  23. Re: Question about replacing words (Alex McCombie - New World Media 1998)
  24. Question about replacing words (Alex McCombie - New World Media 1998)
>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 Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://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)