View Single Post
Old 08-15-2012, 10:57 AM   #3
Rob557
Zealot
Rob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-books
 
Posts: 108
Karma: 810
Join Date: Jul 2012
Device: Kobo
Quote:
Originally Posted by theducks View Post
... You can even set a value in a destination (custom) column (like string length if you can figure out if using chaleys advanced template expressions will work here)
I tried setting up a custom column called title_length, where the custom column type was "column built from other columns", but the template I tried to use was {strlen(title)}.

But it only produced error messages in the column that was created.

I obtained the strlen(a) function from http://manual.calibre-ebook.com/template_lang.html .

Any thoughts on how the template should be tweaked, if that sort of approach is okay?
Rob557 is offline   Reply With Quote