Middle problem
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 56273
interpreted = N
texte = Hi All,I am trying to use [middle] to pull a filename out of a multipart encodedform. The string I have is: Content-Disposition: form-data; name="picture"; filename="garagedemo.pdf"Content-Type: application/pdfI would like to get everything after filename=" and before " Content Middle is just not working. I tried urling the string, and using [middlestartafter=filename%3D%22]But that returns the whole string.I can use a nasty combo of middle startafter=filename and then getchars toget rid of the =" but that's lame.Can anyone tell me how to do this in one middle context (and maybe explainwhy 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/
Associated Messages, from the most recent to the oldest:
Hi All,I am trying to use [middle] to pull a filename out of a multipart encodedform. The string I have is: Content-Disposition: form-data; name="picture"; filename="garagedemo.pdf"Content-Type: application/pdfI would like to get everything after filename=" and before " Content Middle is just not working. I tried urling the string, and using [middlestartafter=filename%3D%22]But that returns the whole string.I can use a nasty combo of middle startafter=filename and then getchars toget rid of the =" but that's lame.Can anyone tell me how to do this in one middle context (and maybe explainwhy 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/
Aaron Lynch
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:
uploads (2000)
Digest for 4/18/97 (1997)
Lost Password? (2002)
Newbie problem blah blah blah (1997)
trying to filter out various words from user entered text (2004)
Emailer setup (1997)
webcat- multiple selection in input field (1997)
WCS Newbie question (1997)
UPS problems (again) (2000)
POP3 communication [OT?] (2003)
Hiding HTML and page breaks (1997)
[math show=f]nuCheck1=[check1]=1[/math] = proper syntax?? (2000)
Almost a there but..bye bye NetCloak (1997)
Pull down menu for categories (2000)
Confusing [protect] (long) (1999)
Migrating to NT (1997)
Exclamation point (1997)
Locking up with WebCatalog... (1997)
Sub Categories (2000)
Looking up two prices in database? (1997)