Re: [middle]
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 36073
interpreted = N
texte = How about this,[listwords words=3XL Shirt&delimiters= ][showif[index]=1][word][/showif][/listwords]I assume that you have a variable for the product, say it is [product], thenyourcode woul be; (note: there is a space after delimiters=)[listwords words=[product]&delimiters= ][showif[index]=1][word][/showif][/listwords]anupvertical nethttp://www.vertical.net----- Original Message -----From: Robert Wade
To: WebCatalog Talk Sent: Friday, August 11, 2000 11:19 AMSubject: [middle]> Hello All, I have a problem with the middle context. I hope someone canthis solve for> me.>> I'm using it to extract a size from a title of a product..> Example: 3XL Shirt>> I can't use [getchars] because the amount of characters in the size variesfrom product> to product ( S, 2X, 3XL, etc.).> This is what I'm using...>> [middle startafter=&endbefore= ]3XL Shirt[/middle]> ^This one works fine and returns: 3XL But if the title has more than onespace...>> [middle startafter=&endbefore= ]3XL Blue Shirt[/middle]> ^This returns: 3XL Blue> As if it's not recognizing the first space?>> I've also tried these variations in desperation...> [middle startafter=&endbefore=%20]3XL Blue Shirt[/middle]> ^This returns: 3XL Blue>> [middle startafter=&endbefore=[url] [/url]]3XL Blue Shirt[/middle]> ^This returns: 3XL Blue>> --Thanks in Advance!>>> Robert Wade ====================== CABIN6 Design>> ================================================> |[ //\ ||} || ||\| V|> ================================================>> www.cabin6.com =============== robert@cabin6.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:
How about this,[listwords words=3XL Shirt&delimiters= ][showif[index]=1][word][/showif][/listwords]I assume that you have a variable for the product, say it is [product], thenyourcode woul be; (note: there is a space after delimiters=)[listwords words=[product]&delimiters= ][showif[index]=1][word][/showif][/listwords]anupvertical nethttp://www.vertical.net----- Original Message -----From: Robert Wade To: WebCatalog Talk Sent: Friday, August 11, 2000 11:19 AMSubject: [middle]> Hello All, I have a problem with the middle context. I hope someone canthis solve for> me.>> I'm using it to extract a size from a title of a product..> Example: 3XL Shirt>> I can't use [getchars] because the amount of characters in the size variesfrom product> to product ( S, 2X, 3XL, etc.).> This is what I'm using...>> [middle startafter=&endbefore= ]3XL Shirt[/middle]> ^This one works fine and returns: 3XL But if the title has more than onespace...>> [middle startafter=&endbefore= ]3XL Blue Shirt[/middle]> ^This returns: 3XL Blue> As if it's not recognizing the first space?>> I've also tried these variations in desperation...> [middle startafter=&endbefore=%20]3XL Blue Shirt[/middle]> ^This returns: 3XL Blue>> [middle startafter=&endbefore=[url] [/url]]3XL Blue Shirt[/middle]> ^This returns: 3XL Blue>> --Thanks in Advance!>>> Robert Wade ====================== CABIN6 Design>> ================================================> |[ //\ ||} || ||\| V|> ================================================>> www.cabin6.com =============== robert@cabin6.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/
Anup Setty
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:
WebDNA Solutions ... sorry! (1997)
Formulas.db + Users.db (1997)
WebCat cannot handle compatible search parameters? (1997)
tpl and Explorer (1998)
Another site that 4.0.1 seems to have broken (2000)
Can you do this??? and other stuff (1997)
triggering an update of two frames (1998)
Variables in a Prefernce File (2005)
Sorting by date (1997)
possible bug in unix version? (2000)
Initiating NewCart (1997)
[WebDNA] paypal (2009)
WebCat2b15MacPlugin - showing [math] (1997)
Add message to Order (1997)
WYSIWYG Entry of text fields (2001)
download database (2000)
Plugin or CGI or both (1997)
More on the email templates (1997)
TCPConnect / Current Temperature (2004)
using showpage and showcart commands (1996)