Re: [Zope] Removing part of a string (in an URL)

2000-07-01 Thread T. J. Mannos
Walter, Try a little trick I use with _.string.split(). split() splits a string into two (or more) parts based on a delimiter. In this case, the delimiter could be any part of the URL directly to the left of /Zorba/busca/... For example: dtml-var "_.string.split(url, ':8080')[1]" This

[Zope] Removing part of a string (in an URL)

2000-06-30 Thread Walter A. Aprile
Hi, more newbie questions, I am afraid. I have a ZCatalog result form that boringly forms links this way: dtml-var "busca.getpath(data_record_id_)" Due to the way my site is organized, the URL I get has an unwanted part at the beginning. The part is always the same size, and