[Zope] url question...

Peter Bengtsson peter@grenna.net
Thu, 22 Mar 2001 12:32:52 -0000


string.split(URL,'/')[-1]


----- Original Message ----- 
From: "Junk" <junk@gargl.net>
To: <zope@zope.org>
Sent: Thursday, March 22, 2001 11:58 AM
Subject: [Zope] url question...


> hello,
> 
> let's say i have this url :
> "http://www.xxx.com/foo/bar"
> and i'd like to somehow get the string "bar"
> 
> question : how can i do that ?
> 
> >junk<
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )