Thanks for chiming in @chaley!
I tried the "if" expression path, because I do not really need the numeric comparison, a string comparison against "0" should be enough.
However I get an error. The full code for my sub title expression looks like this:
Code:
{series:'test($, strcat("<i>", $, "</i>", program: if raw_field("formatted_series_index") == "0" then "" else raw_field("formatted_series_index"),"<br>"), "")'}
{#version:'test($, strcat("<b>", $, "</b>"),"")'}
and I always see the message "
Template error Formatter" complaining about not enough closing brackets - but I think the brackets are correct. What do I do wromg?