Re: Middle problem

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61644
interpreted = N
texte = This might work: [listwords words=3D[ThisURL]&delimiters=3D/] [text]thepage=3D[word][/text] [/listwords] ------ Daryl Mitchell, E-Business Specialist PW Group Ltd. =B7 Saskatoon, SK CANADA Tel: (306) 665-3557 =B7 Fax (306) 664-0094 d.mitchell@pwgroup.ca =B7 www.pwgroup.ca On Apr 4, 2005, at 8:54 AM, Steve Craig wrote: > Hi > > This is probably quite simple just can't think how to do it after a=20 > long > weekend off. > > I use this code to extract the pagename of a url > > [text show=3DT]PAGENAME=3D[Middle > StartAfter=3D/&EndBefore=3D.][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. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steve Craig - Asylum Interactive Ltd > Tel +44 1224 642960 Fax +44 1224 642962 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > http://www.asylumweb.com > Email: steve@asylumweb.com > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > ------------------------------------------------------------- > 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=20 > > 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)
This might work: [listwords words=3D[thisurl]&delimiters=3D/] [text]thepage=3D[word][/text] [/listwords] ------ Daryl Mitchell, E-Business Specialist PW Group Ltd. =B7 Saskatoon, SK CANADA Tel: (306) 665-3557 =B7 Fax (306) 664-0094 d.mitchell@pwgroup.ca =B7 www.pwgroup.ca On Apr 4, 2005, at 8:54 AM, Steve Craig wrote: > Hi > > This is probably quite simple just can't think how to do it after a=20 > long > weekend off. > > I use this code to extract the pagename of a url > > [text show=3DT]PAGENAME=3D[Middle > StartAfter=3D/&EndBefore=3D.][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. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steve Craig - Asylum Interactive Ltd > Tel +44 1224 642960 Fax +44 1224 642962 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > http://www.asylumweb.com > Email: steve@asylumweb.com > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > ------------------------------------------------------------- > 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=20 > > 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/ Daryl Mitchell

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:

Server problem? (1998) time and welcome (1999) Date Sorting (1997) Google listings. (2006) Non expiring cookies again (*sorry*) (1999) Can ShowNext do this? (2000) Web requests in que... (2007) NT vs Mac (1997) hmmm (2006) [WebDNA] [OT] Best Mail Server (2010) Trouble with formula.db + more explanation (1997) Re:2nd WebCatalog2 Feature Request (1996) OT: ASP Developer (1999) Using Plug-In while running 1.6.1 (1997) WebCatalog can't find database (1997) WebCat2final1 crashes (1997) Macos8.6 to X migration problems (2000) WebCat cannot handle compatible search parameters? (1997) passing user info on each page (2000) WebCat2 several catalogs? (1997)