[Cubicweb] Error in SUBSTRING documentation ?

Yann Cointepas yann at cointepas.net
Wed Nov 19 17:53:12 CET 2014


Hi,

I suspect that SUBSTRING(String, start, length)is implemented as
String[start:length] in Python (because I have to use start=0 and length=8
to compare the first 7 characters). If I am right, the name of the
parameters and the documentation on the RQL web page are wrong, length is
not a length but the index after the last character.

Regards,

      Yann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20141119/79fbe467/attachment-0185.html>


More information about the Cubicweb mailing list