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:
I have observed and I am gone. (1998)
Searching a field and returning the highest value (1997)
page redirect in webDNA (1997)
Can you do this??? and other stuff (1997)
Permissions (2000)
Need Advice for Setting up a Database (1999)
executing via commandline (2003)
Populating a db from a form textarea (2005)
It just Does't add up!!! (1997)
Adding discount to cart (2000)
PCS Frames (1997)
Multiple Merchant Accounts? (1997)
[BoldWords] WebCat.acgib15Mac (1997)
Email (1998)
OT: advice on Wintel server options (1998)
Stumped on ShowNext -using variables (1997)
PCS Frames-Default page is solution! (1997)
new server, can't use [writefile] - code attached [long] (2004)
WebCatalog2 Feature Feedback (1996)
[WebDNA] fastcgi 7+ & [cart]? (2010)