[middle]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36069
interpreted = N
texte = 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 ShirtI 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [BULK] [WebDNA] [BULK] [middle] behavior (webdna 2020)
  2. Re: [BULK] [WebDNA] [BULK] [middle] behavior (Stuart Tremain 2020)
  3. Re: [BULK] Re: [WebDNA] [BULK] [middle] behavior (webdna 2020)
  4. Re: [BULK] Re: [WebDNA] [BULK] [middle] behavior (Brian Fries 2020)
  5. [BULK] Re: [WebDNA] [BULK] [middle] behavior (webdna 2020)
  6. [WebDNA] [BULK] [middle] behavior (webdna 2020)
  7. Re: [WebDNA] [middle] << assistance need (Kenneth Grome 2016)
  8. Re: [WebDNA] [middle] << assistance need (Palle Bo Nielsen 2016)
  9. Re: [WebDNA] [middle] << assistance need (christophe.billiottet@webdna.us 2016)
  10. Re: [WebDNA] [middle] << assistance need (Kenneth Grome 2016)
  11. Re: [WebDNA] [middle] << assistance need (Palle Bo Nielsen 2016)
  12. Re: [WebDNA] [middle] << assistance need (Donovan Brooke 2016)
  13. [WebDNA] [middle] << assistance need (Palle Bo Nielsen 2016)
  14. [WebDNA] More thoughts about [middle] (Kenneth Grome 2015)
  15. Re: [WebDNA] [middle] (Donovan Brooke 2015)
  16. Re: [WebDNA] [middle] ("WJ Starck, DDS" 2015)
  17. Re: [WebDNA] [middle] (Kenneth Grome 2015)
  18. Re: [WebDNA] [middle] (christophe.billiottet@webdna.us 2015)
  19. Re: [WebDNA] [middle] (Brian Burton 2015)
  20. Re: [WebDNA] [middle] (Stuart Tremain 2015)
  21. [WebDNA] [middle] (Kenneth Grome 2015)
  22. Re: [WebDNA] Has [middle] always worked this way? (Kenneth Grome 2014)
  23. Re: [WebDNA] Has [middle] always worked this way? (Toby Cox 2014)
  24. Re: [WebDNA] Has [middle] always worked this way? (Kenneth Grome 2014)
  25. Re: [WebDNA] Has [middle] always worked this way? (Kenneth Grome 2014)
  26. Re: [WebDNA] Has [middle] always worked this way? (WebDNA 2014)
  27. Re: [WebDNA] Has [middle] always worked this way? (Dan Strong 2014)
  28. [WebDNA] Has [middle] always worked this way? (Kenneth Grome 2014)
  29. Re: [WebDNA] Escape an ampersand in [middle] (Brian Fries 2009)
  30. [WebDNA] Escape an ampersand in [middle] (Kenneth Grome 2009)
  31. TIP: using [middle] to peel off page.html from [referrer] ( Terry Wilson 2004)
  32. Re: grep / [middle] help SOLVED ( Joe D'Andrea 2003)
  33. grep / [middle] help ( Joe D'Andrea 2003)
  34. Re: [Middle] Probs with "&" ( Rob Marquardt 2003)
  35. [Middle] Probs with "&" ( Clint Davis 2003)
  36. Re: Fun with [middle] (Gary Krockover 2002)
  37. Re: Fun with [middle] (Dennis J. Bonsall, Jr. 2002)
  38. Fun with [middle] (charles kline 2002)
  39. Re: How do I enter a carriage return for my StartAfter valueina [middle] context? (Grant Hulbert 2002)
  40. Re: [middle] of nowhere .. ? (Alain Russell 2001)
  41. [middle] of nowhere .. ? (Alain Russell 2001)
  42. Re: can you use [middle] in a search? (Tim Robinson 2001)
  43. Re: can you use [middle] in a search? (John Peacock 2001)
  44. Re: can you use [middle] in a search? (Will Starck 2001)
  45. Re: can you use [middle] in a search? (Tim Robinson 2001)
  46. Re: can you use [middle] in a search? (Kenneth Grome 2001)
  47. Re: can you use [middle] in a search? (Tim Robinson 2001)
  48. Re: can you use [middle] in a search? (Will Starck 2001)
  49. can you use [middle] in a search? (Tim Robinson 2001)
  50. Re: [middle] (Robert Wade 2000)
  51. Re: [middle] (Anup Setty 2000)
  52. [middle] (Robert Wade 2000)
  53. Re: quick [middle] Q (Kenneth Grome 2000)
  54. Re: quick [middle] Q (John Butler 2000)
  55. Re: quick [middle] Q (Kenneth Grome 2000)
  56. Re: quick [middle] Q (John Butler 2000)
  57. quick [middle] Q (John Butler 2000)
  58. Re: how does [middle] work? (PCS Technical Support 1998)
  59. how does [middle] work? (Olin Lagon 1998)
  60. [middle] ( Extr)
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 ShirtI 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/ 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:

[WebDNA] help with writefile (2012) search results not sorted with 'cl' (1998) Preventing Merchant Settling ? (1997) International Orders (1998) [WebDNA] Can WebDNA corrupt a db? (2012) Problem using # in my field names ... (1998) SASL Support in WebDNA (2004) problems with 2 tags (1997) Ready to h[url]!!! (1999) OK, here goes... (1997) Superfilous Characters (1998) RE: creating writefile data from a nested search (1997) Rams SuperBowl Champs (2000) Date Calulation (1997) WebCatalog (1999) did I miss anything (1997) Recalculating Shipping Costs (1997) More on the email templates (1997) [date format] w/in sendmail (1997) 2.0 Info (1997)