Splitting a variable

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48824
interpreted = N
texte = I am trying to spit a variable into 5 valuesI have this [Listwords words=[header12]&delimiters=:] [TEXT]contact[Index]=[word][/TEXT] [/Listwords]This works fine when the variable is completely populated eg one:two:three:four:fiveBut if the variable is: ::::fivecontact1=fiveHow can I split this so: contact1= contact2= contact3= contact4= contact5=five RegardsStuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837------------------------------------------------------------- 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: Splitting a variable (Stuart Tremain 2003)
  2. Splitting a variable (Stuart Tremain 2003)
I am trying to spit a variable into 5 valuesI have this [Listwords words=[header12]&delimiters=:] [text]contact[Index]=[word][/TEXT] [/Listwords]This works fine when the variable is completely populated eg one:two:three:four:fiveBut if the variable is: ::::fivecontact1=fiveHow can I split this so: contact1= contact2= contact3= contact4= contact5=five RegardsStuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837------------------------------------------------------------- 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/ Stuart Tremain

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:

Weird problems with [SHOWIF]s (1997) Weird Math and SV (1997) Sort order (1998) Staring a store with WebDNA 4.5.1 and Website Payments Pro (2006) Unceremonious Unwanted Unsubscription (1999) Further tests with the infamous shipCost (1997) 3-4.1 probelm (2000) list cookies and list http headers (1997) Separate SSL Server (1997) [convertchars] on potential malicious input even in a link? (2000) Search/sort in URL Was: GuestBook example (1997) SERIAL NUMBER BEING LOST AGAIN!!! (1999) [SearchString] usage (1997) Quitting WebMerchant ? (1997) Code database (1998) customer info (2001) 'page impression' techniques for banner ads (1999) format problem on NT? (1997) WebCat2: Master Counter snippet (1997) [SearchString] (1998)