[Zope] python split
Andreas Jung
lists at zopyx.com
Sun Aug 17 11:26:01 EDT 2008
--On 17. August 2008 16:29:38 +0100 Garry Saddington
<garry at schoolteachers.co.uk> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080817/0aef1a3c/attachment.bin
More information about the Zope
mailing list