On Fri, Dec 13, 2002 at 08:19:56PM +0100, Jerome Alet wrote:
> I wanted to keep all but the last one, of course, so this
> is probably something more like this one :
> 
>   return '.'.join(context.getId().split('.')[:-1])
... which does in one line what I did in 4.
TMTOWTDI lives :)
--PW
-- 
Paul Winkler
http://www.slinkp.com
"Welcome to Muppet Labs, where the future is made - today!"