Re: Hiding words

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33179
interpreted = N
texte = >Thanks, > >I got figured out. >Here's the code if anyone else needs it: > >[showif [countwords][Variable][/countwords]=1] > [unurl][Variable][/unurl] >[/showif] > >[showif [countwords][Variable][/countwords]=2] > [listwords words=[Variable]] > [hideif [index]=2] > [word] > [/hideif] > [/listwords] >[/showif] > >[showif [countwords][Variable][/countwords]=3] > [listwords words=[Variable]] > [hideif [index]=3] > [word] > [/hideif] > [/listwords] >[/showif] > >and so on for as many words you might have in a return. >Alternately, you could do this to cut off the last word:[TEXT SHOW=F]num_words=[countwords][Variable][/countwords][/TEXT] [SHOWIF [NUM_WORDS]>1] [LISTWORDS words=[VARIABLE]] [HIDEIF [INDEX]=[NUM_WORDS]] [WORD] [/HIDEIF] [/LISTWORDS] [/SHOWIF]Michael -- Michael Winston Web Developer, Dark Horse Comics michaelw@darkhorse.com http://www.darkhorse.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Hiding words (Michael Winston 2000)
  2. Re: Hiding words (Alex Cheparev 2000)
  3. Re: Hiding words (WebDNA Support 2000)
  4. Re: Hiding words (WebDNA Support 2000)
  5. Re: Hiding words (Michael A. Rosen 2000)
  6. Hiding words (Alex Cheparev 2000)
>Thanks, > >I got figured out. >Here's the code if anyone else needs it: > >[showif [countwords][Variable][/countwords]=1] > [unurl][Variable][/unurl] >[/showif] > >[showif [countwords][Variable][/countwords]=2] > [listwords words=[Variable]] > [hideif [index]=2] > [word] > [/hideif] > [/listwords] >[/showif] > >[showif [countwords][Variable][/countwords]=3] > [listwords words=[Variable]] > [hideif [index]=3] > [word] > [/hideif] > [/listwords] >[/showif] > >and so on for as many words you might have in a return. >Alternately, you could do this to cut off the last word:[TEXT SHOW=F]num_words=[countwords][Variable][/countwords][/TEXT] [SHOWIF [NUM_WORDS]>1] [LISTWORDS words=[VARIABLE]] [HIDEIF [INDEX]=[NUM_WORDS]] [WORD] [/HIDEIF] [/LISTWORDS] [/SHOWIF]Michael -- Michael Winston Web Developer, Dark Horse Comics michaelw@darkhorse.com http://www.darkhorse.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://search.smithmicro.com/ Michael Winston

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:

Price recalc based on quantity (1997) Sorting Dates in a search (2000) Sku numbers (1997) snicker, snicker (1997) [WebDNA] Two different mail servers? (2011) [WebDNA] setcookie in IE11 (2014) [WebDNA] XSS and getting rid of HTML codes (2018) [WebDNA] WebDNA Showcase? (2008) Nested vs conditional (1997) Any problem with using a g4 with WebCat (2000) Listserver problem (1997) Secure Server (1997) This list needs a digest: rant, rave... (1997) more info on [setlineitems] (1997) service stop and restart (1997) Serving images from databases (1998) Nested tags count question (1997) All choices on IE different than Netscape (1997) WebCat2b13 Command Reference Doc error (1997) Help with dates (2001)