--On 17. August 2008 16:29:38 +0100 Garry Saddington <[EMAIL PROTECTED]> wrote:

Is it possible to split a string at the first occurence of a non-digit
character using a python script in zope, or does this need an external
method  for security purposes?

You can implement a brute-force solution using an iteration using a PythonScript or you use a regular expression (requiring an external method, a browser view or any other form of "trusted code".

-aj

Attachment: pgpsptlaruY7Q.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to