Re: can you use [middle] in a search?
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37733
interpreted = N
texte = Hi Will,Thanks for that. I didn't know about [ListWords]. Sorry to appear like a total dufus (is that how you spell that?), but how does this pertain to the search results?This:[search db=Email.db&SKUsort=1&SKUsdir=as&geSKUdata=0&startat=[url][startat][/url]]
EMAIL ADDRESS |
[founditems] [ListWords Words=[emailaddress]&Delimiters=@][showif [index]=1][word][/showif][/ListWords]@[ListWords Words=[emailaddress]&Delimiters=@][showif [index]=2][word][/showif][/ListWords] |
[/founditems]
[/search]brings up the same result as I had before, just done with [listwords] as opposed to straight from the database. How can I incorporate that into a search so it lists the domain half of the email address alphabetically?Apologies in advance for any ignorance on my part.Thanks in advance too!!Regards,TimTim RobinsonArt Directorimagine onlinetim@imagine.com.auhttp://www.imagine.com.auOn Thursday, 9 August 2001 2:22 PM, Will Starck
wrote:>Listwords is great for this:>>[listwords words=[email]&delimeters=@][word][/listwords]>>You can take the email addresses apart, sort them however you wish and then>put 'em back together like so:>>[listwords words=[email]&delimeters=@][showif>[index]=1][word][/showif][/listwords]@[listwords>words=[email]&delimeters=@][showif>[index]=2][word][/showif][/listwords]>>Will Starck>NovaDerm>skin care science>http://www.novaderm.com>-techs@novaderm.com>800-378-1740>800-378-1740>>----- Original Message ----->From: Tim Robinson >To: WebCatalog Talk >Sent: Wednesday, August 08, 2001 9:44 PM>Subject: can you use [middle] in a search?>>>I'm creating a db of email addresses. When they are listed, it would be>really helpful to list them alphatecially determined by domain name, then>user.>>eg.>bob@alpha.com>chris@alpha.com>dave@alpha.com>bob@beta.com>chris@beta.com>dave@beta.com>bob@christmas.com>chris@christmas.com>dave@christmas.com>etc>>[middle] seems to be made for this (as you could use 'StartAfter=@'), but>how can I use this when displaying a list of search results?>>[getchars] obviously can't work because the username if of different>lengths.>>All help greatly appreciated.>>Regards,>Tim>>Tim Robinson>Art Director>imagine online>tim@imagine.com.au>http://www.imagine.com.au>>>>------------------------------------------------------------->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/>>>>------------------------------------------------------------->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/>-------------------------------------------------------------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:
Hi Will,Thanks for that. I didn't know about [listwords]. Sorry to appear like a total dufus (is that how you spell that?), but how does this pertain to the search results?This:[search db=Email.db&SKUsort=1&SKUsdir=as&geSKUdata=0&startat=[url][startat][/url]] EMAIL ADDRESS |
[founditems] [ListWords Words=[emailaddress]&Delimiters=@][showif [index]=1][word][/showif][/ListWords]@[ListWords Words=[emailaddress]&Delimiters=@][showif [index]=2][word][/showif][/ListWords] |
[/founditems]
[/search]brings up the same result as I had before, just done with [listwords] as opposed to straight from the database. How can I incorporate that into a search so it lists the domain half of the email address alphabetically?Apologies in advance for any ignorance on my part.Thanks in advance too!!Regards,TimTim RobinsonArt Directorimagine onlinetim@imagine.com.auhttp://www.imagine.com.auOn Thursday, 9 August 2001 2:22 PM, Will Starck wrote:>Listwords is great for this:>>[listwords words=[email]&delimeters=@][word][/listwords]>>You can take the email addresses apart, sort them however you wish and then>put 'em back together like so:>>[listwords words=[email]&delimeters=@][showif>[index]=1][word][/showif][/listwords]@[listwords>words=[email]&delimeters=@][showif>[index]=2][word][/showif][/listwords]>>Will Starck>NovaDerm>skin care science>http://www.novaderm.com>-techs@novaderm.com>800-378-1740>800-378-1740>>----- Original Message ----->From: Tim Robinson >To: WebCatalog Talk >Sent: Wednesday, August 08, 2001 9:44 PM>Subject: can you use [middle] in a search?>>>I'm creating a db of email addresses. When they are listed, it would be>really helpful to list them alphatecially determined by domain name, then>user.>>eg.>bob@alpha.com>chris@alpha.com>dave@alpha.com>bob@beta.com>chris@beta.com>dave@beta.com>bob@christmas.com>chris@christmas.com>dave@christmas.com>etc>>[middle] seems to be made for this (as you could use 'StartAfter=@'), but>how can I use this when displaying a list of search results?>>[getchars] obviously can't work because the username if of different>lengths.>>All help greatly appreciated.>>Regards,>Tim>>Tim Robinson>Art Director>imagine online>tim@imagine.com.au>http://www.imagine.com.au>>>>------------------------------------------------------------->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/>>>>------------------------------------------------------------->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/>-------------------------------------------------------------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/
Tim Robinson
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:
User/pass with tcpconnect (2000)
Help with searching dates from mysql dump & searching between (2006)
WebCatalog/WebMerchant Manuals Available (1998)
Quit revisited (1997)
Meet your competition (2000)
WebCat2final1 crashes (1997)
WC2b12: Yes, Formulas.db is for real (1997)
Part Html part WebDNA (1997)
Large founditems loops (2000)
Fwd: Handling Charges (1999)
[WebDNA] PCI fubar (2012)
YA 4.5.1 problem (2004)
More than one db with the same namn (was: WC2f3) (1997)
Re1000001: Setting up shop (1997)
Emailer (1997)
How to search for fields with 10 or more characters? (2004)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
WC --> printer (1998)
Search in 2 or more catalogs (1997)
Hiding HTML and page breaks (1997)