[Zope] PATH_INFO und regex

Michel Pelletier michel@digicool.com
Fri, 1 Oct 1999 13:00:50 -0400


> -----Original Message-----
> From: Sven Kirmess [mailto:sven.kirmess@gmx.net]
> Sent: Friday, October 01, 1999 12:02 PM
> To: zope@zope.org
> Subject: [Zope] PATH_INFO und regex
> 
> 
> The PATH_INFO is
> 
> /kirmess/
> 
> or
> 
> /kirmess/index_html
> 
> depending on how you call the document. I'd like to have it always
> without the document name. How can I cut everything behind the last /
> in a string?

You can do string manipulations with the _.string module in DTML.  It is
documented in the DTML Guide

-Michel