Re: Middle problem
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61645
interpreted = N
texte = Use a combination of text variables, listwords with delimiters = / and then do the middle thing :-)NitaiSteve Craig wrote:>Hi>>This is probably quite simple just can't think how to do it after a long>weekend off.>>I use this code to extract the pagename of a url>>[text show=T]PAGENAME=[Middle>StartAfter=/&EndBefore=.][thisURL][/middle][/text]>>Only problem is when [thisURL] contains more than 1 slash, like>http://www.mydomain.com/myfolder/mypage.html>>Any thoughts how to get just the last bit.>>Thanks for any help.>========================================>Steve Craig - Asylum Interactive Ltd>Tel +44 1224 642960 Fax +44 1224 642962>========================================>http://www.asylumweb.com>Email: steve@asylumweb.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/> >-- Redakto - Content Management that simply worksContent Management & eBusiness SystemsComputerOil® AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.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:
Use a combination of text variables, listwords with delimiters = / and then do the middle thing :-)NitaiSteve Craig wrote:>Hi>>This is probably quite simple just can't think how to do it after a long>weekend off.>>I use this code to extract the pagename of a url>>[text show=T]PAGENAME=[Middle>StartAfter=/&EndBefore=.][thisurl][/middle][/text]>>Only problem is when [thisurl] contains more than 1 slash, like>http://www.mydomain.com/myfolder/mypage.html>>Any thoughts how to get just the last bit.>>Thanks for any help.>========================================>Steve Craig - Asylum Interactive Ltd>Tel +44 1224 642960 Fax +44 1224 642962>========================================>http://www.asylumweb.com>Email: steve@asylumweb.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/> >-- Redakto - Content Management that simply worksContent Management & eBusiness SystemsComputerOil® AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.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/
"Nitai @ ComputerOil"
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:
$append (1998)
Can this be done? (1997)
Sorry I didn't pay attention-but ??? (1997)
Entry point? Security w/ dbase helper? (1997)
Sort Order on a page search (1997)
Re:WebCatalog f2 Installation (1997)
New Weird Behavior (bug report) (2000)
[WebDNA] OSX Lion (2012)
Opinion: [input] should be called [output] ... (1997)
PROBLEMS WITH PROTECT TAG (2004)
FYI: Apache Module perchild (2002)
Trunk-gator (1997)
RE: AccountAuthorizer doesn't seem to work (1997)
Not really WebCat (1997)
Electronic Delivery (1997)
Cart questions (1997)
Logic question (2002)
[ModDate] & [ModTime] ? (1997)
SetLineItem (1997)
Cannot get subtotal to work (1997)