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 PMSubject: 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:
Try using ListWords.----- Original Message ----- From: "Aaron Lynch" To: "WebDNA Talk" Sent: Friday, February 20, 2004 12:56 PMSubject: 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:
WebCat B13 Mac CGI -- Frames question (1997)
encrypted query string trouble on OSX (2001)
RE: Need Help (1998)
take me off mailing list please (2001)
Email (1998)
Other tags inside the founditems context? (1998)
db creator (2000)
WCf2 and nested tags (1997)
users.db (1999)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Help! WebCat2 bug (1997)
Running _every_ page through WebCat ? (1997)
[WebDNA] [arrayset name=array_1&dim=X,Y,Z] Margins (2012)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
mySQL or MS SQL (2000)
Signal Raised (1997)
too many nested [xxx] (1997)
Help! WebCat2 bug (1997)
Server Error Question [bug?] (2004)
OT: Help Wanted (2007)