This project is read-only.

Category expression syntax ?

Nov 18, 2014 at 10:35 AM
Edited Nov 18, 2014 at 10:36 AM

I'm looking for a few documentation about expression syntax inside categories. Is there some function like SUBSTR([fieldname],2,3) to extract part of a field or INSTR to find a string inside another ?


Nov 23, 2014 at 12:23 PM
Hi Olivier,

I can't help you with this question. I'll ask around. I'll try to add some more explanation to the documentation:

I'll keep you posted.

Nov 23, 2014 at 2:09 PM
I'm afraid no string functions are provided by core parser at the moment. So I guess the only way to go is to insert a new field, populate it using whatever functions you like, and then generate categories based on it. For the reference on the operators supported by core parser you can look into the source (see CExpression::ReadOperation):