Quote:
Originally Posted by jackie_w
This is because the vertical bar has a special meaning in the template language. There may be a way to get exactly what you want but I'm not sure how.
|
You cannot get around the | issue in single-function mode (the default). You can do it in either template program mode or general program mode.
In template program mode, use:
Code:
{title}{series:'test($, ' | ','')'}{series} {series_index:0>2s|[|]}
In general program mode, use:
Code:
program:
strcat( field('title'),
test(field('series'), ' | ', ''),
template('{series} {series_index:0>2s|[|]}')
)