Quote:
Originally Posted by chaley
It is an artifact of the way the "template" function works. That space ends up at the beginning of the function's result so it is stripped off.
You can add it back in easily. Use
Code:
program: strcat(series_sort(), ' ', template('{series_index:0>2s| #| - }{title}'))
The change is adding ' ', (quote space quote comma space) just before the template function. If there isn't a series then this extra space will be at the beginning of the result and thus will be stripped away.
|
aaha, that did the trick nicely! and thanks to all this, i'm understanding this coding stuff a lot better then trying to force my way through the manual. if i'm understanding right, the commas mark the space as something to be inserted, and without them, the code just assumed the space was extra filler to ignore?
either way, my problem has been nicely solved, and my library management has been simplified tenfold. thank you for all the help!