2) That was the other error I "fixed".
Code:
{series:'in_list($, "&", "Perry Rhodan", $, strcat($, ' - '))'|_ | }{series:lookup(Perry Rhodan,,authors)}/{series_index:0>4s| | - }{title} - {authors}
Ah, screw that, GPM makes more sense:
Code:
program:
# return separator+authors if bad series isn't found, or return empty
various_authors=in_list(
field('series'),
'&',
'Perry Rhodan',
'',
strcat(' - ', field('authors'))
);
end_template=template('{series_index:0>4s| | - }{title} - {authors}');
start_template=test(
field('series'),
strcat(
'_ ',
field('series'),
various_authors
),
field('authors')
);
strcat(start_template, '/', end_template);
P.S. 11:53 -- so almost.