Thanks. I will look.
Quote:
Originally Posted by Noughty
I just changed this one to, #length wasn't needed here, only word Short:
Code:
program:
list_sort(
list_difference(
list_union(field('#shelf'), field('tags'), ','),
list_union(strcat('Short', ',',
'delete'),
strcat(field('#genre'), ',',
field('#mode'), ',',
field('#character')),
','),
','),
0, ',')
|
You can improve this by eliminating the first strcat, because all the arguments are constants. Try:
Code:
program:
list_sort(
list_difference(
list_union(field('#shelf'), field('tags'), ','),
list_union('Short, delete',
strcat(field('#genre'), ',',
field('#mode'), ',',
field('#character')),
','),
','),
0, ',')