[Zope] String Problem continued

Jens Vagelpohl jens@zope.com
Mon, 23 Sep 2002 08:09:06 -0400


> <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
>
>
> _______________________________________________
> 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 )