Hi Jens Thanks for the help. This is exactly the ssolution I needed. Thanks and Best Regards John Kunchandy ----- Original Message ----- From: "Jens Vagelpohl" Sent: Monday, September 23, 2002 5:39 PM Subject: Re: [Zope] String Problem continued
<p tal:content="python: 'jk gf'.split()">
jens
On Monday, Sep 23, 2002, at 07:21 US/Eastern, zope wrote:
Hi
The error I get if I try to use string.split to split a function in page templates is Error Type: TALESError Error Value: exceptions.AttributeError on ExprTypeProxy instance has no attribute 'split' in "", at line 12, column 5 I am trying to do this <p tal:content="python:string.split('jk gf')"></p> How can I use the split function to split a string? Could you please help me out
Thanks and Best Regards John Kunchandy
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.385 / Virus Database: 217 - Release Date: 9/4/2002