Re: Middle problem

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56274
interpreted = N
texte = Try using ListWords. ----- Original Message ----- From: "Aaron Lynch" To: "WebDNA Talk" Sent: Friday, February 20, 2004 12:56 PM Subject: Middle problem > Hi All, > > I am trying to use [middle] to pull a filename out of a multipart encoded > form. The string I have is: > > Content-Disposition: form-data; name="picture"; filename="garagedemo.pdf" > Content-Type: application/pdf > > > I would like to get everything after filename=" and before " Content > > Middle is just not working. I tried urling the string, and using [middle > startafter=filename%3D%22] > > But that returns the whole string. > > I can use a nasty combo of middle startafter=filename and then getchars to > get rid of the =" but that's lame. > > Can anyone tell me how to do this in one middle context (and maybe explain > why it doesn't work when urled) > > Or, alternatively suggest a grep string to do what I want? > > > ------------------------------------------------------------- > 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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] MIDDLE problems (Govinda 2012)
  2. Re: [WebDNA] MIDDLE problems (WebDNA Solutions 2012)
  3. Re: [WebDNA] MIDDLE problems (Stuart Tremain 2012)
  4. [WebDNA] MIDDLE problems (Stuart Tremain 2012)
  5. Re: Middle problem ( devaulw@onebox.com 2005)
  6. Re: Middle problem ( "Nitai @ ComputerOil" 2005)
  7. Re: Middle problem ( Donovan Brooke 2005)
  8. Re: Middle problem ( Steve Craig 2005)
  9. Re: Middle problem ( "Nitai @ ComputerOil" 2005)
  10. Re: Middle problem ( Daryl Mitchell 2005)
  11. Middle problem ( Steve Craig 2005)
  12. Re: Middle problem ( Stuart Tremain 2004)
  13. Re: Middle problem ( "Rajeev Kumar" 2004)
  14. Middle problem ( Aaron Lynch 2004)
Try using ListWords. ----- Original Message ----- From: "Aaron Lynch" To: "WebDNA Talk" Sent: Friday, February 20, 2004 12:56 PM Subject: Middle problem > Hi All, > > I am trying to use [middle] to pull a filename out of a multipart encoded > form. The string I have is: > > Content-Disposition: form-data; name="picture"; filename="garagedemo.pdf" > Content-Type: application/pdf > > > I would like to get everything after filename=" and before " Content > > Middle is just not working. I tried urling the string, and using [middle > startafter=filename%3D%22] > > But that returns the whole string. > > I can use a nasty combo of middle startafter=filename and then getchars to > get rid of the =" but that's lame. > > Can anyone tell me how to do this in one middle context (and maybe explain > why it doesn't work when urled) > > Or, alternatively suggest a grep string to do what I want? > > > ------------------------------------------------------------- > 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://webdna.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://webdna.smithmicro.com/ "Rajeev Kumar"

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:

Explorer 3.0/ Access Denied! (1997) Cart Numbers (1997) Include a big block of text (1997) Pithy questions on webcommerce & siteedit (1997) WebCatalog for NT (1999) Windows 2.1b2 Append Bug? (1997) Remote stockroom ? (1998) restart needed???? (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Hiding HTML and page breaks (1997) WebCat editing, SiteGuard & SiteEdit (1997) (slightly off) using menu and [search] (1998) A little help on e-mail (HELP!!! :-) ) (1998) [WebDNA] Protect TextArea and other Input-Fields with WebDNA - Something to talk about ;) (2009) Been meaning to ask... (1997) Replace context problem ... (1997) text size limitation (1997) Allowed fields in formulas.db (1998) using showpage and showcart commands (1996) WebCat2 - storing unformatted date data? (1997)