[Zope] string module

Bak @ kedai kedai@kedai.com.my
Fri, 15 Jun 2001 01:23:21 +0800


>with view I get ['test','pdf']
>
>2>>>mydtml_method.html:
><dtml-call "REQUEST.set('filename' , 'test.pdf')" >
><dtml-call "REQUEST.set('file_id' , _.string.split(filename,'.pdf'))" >
><dtml-var file_id>
>

<dtml-call "REQUEST.set('file_id' , _.string.split(filename,'.pdf')[0])" >


>with view I get ['test','']
>
>This make a invalide id for my PDFclass instance.
>I don't know how to separate the 2 arguments of file_id.
>
>Thanx
>
>    ()                      
>   /  \                         
>  | <> |                  
>  (____)   zazen rules ... Sbaline
>
>
>
>
>
>_______________________________________________________
>Send a cool gift with your E-Card
>http://www.bluemountain.com/giftcenter/
>
>
>
>_______________________________________________
>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 )
>