Re: [middle]
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 36079
interpreted = N
texte = Thank you very much. Works like a charm!-RobertAnup Setty wrote:> 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], then> your> code woul be; (note: there is a space after delimiters=)>> [listwords words=[product]&delimiters= ][showif> [index]=1][word][/showif][/listwords]>> anup> vertical net> http://www.vertical.net>> ----- Original Message -----> From: Robert Wade
> To: WebCatalog Talk > Sent: Friday, August 11, 2000 11:19 AM> Subject: [middle]>> > Hello All, I have a problem with the middle context. I hope someone can> this 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 varies> from 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 one> space...> >> > [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/--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/
Associated Messages, from the most recent to the oldest:
Thank you very much. Works like a charm!-RobertAnup Setty wrote:> 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], then> your> code woul be; (note: there is a space after delimiters=)>> [listwords words=[product]&delimiters= ][showif> [index]=1][word][/showif][/listwords]>> anup> vertical net> http://www.vertical.net>> ----- Original Message -----> From: Robert Wade > To: WebCatalog Talk > Sent: Friday, August 11, 2000 11:19 AM> Subject: [middle]>> > Hello All, I have a problem with the middle context. I hope someone can> this 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 varies> from 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 one> space...> >> > [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/--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/
Robert Wade
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:
Re1000001: Setting up shop (1997)
WebDNA Solutions ... (1997)
can WC render sites out? (1997)
New WebCatalog site! (1997)
Append - form based command (1999)
eBay API thru webDNA (2004)
Shopping Cart Problem (1998)
Re[2]: OT: Amazon Patents (2000)
Problems with Frames (1998)
WebCat2b12 Mac.acgi--[searchstring] bug (1997)
RE: Missing contexts on NT (1997)
How do you hide [math]stuff[/math] (1997)
TCP not connecting to Authnet (2004)
WCS Newbie question (1997)
RE: Emailer on NT! (1998)
WebStar 3 crackable !!!! (1998)
[WebDNA] WebDNA and PHP cohabitating? (2009)
Help name our technology! I found it (1997)
WC Database Format (1997)
WebCat2b15MacPlugin - showing [math] (1997)