View Single Post
Old 01-04-2016, 03:17 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,764
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@anjade2 - Template language has a strlen function,

Code:
class calibre.utils.formatter_functions.BuiltinStrlen[source]

    strlen(a) – Returns the length of the string passed as the argument
Pretty sure that could be used to populate the value of an integer custom column (#titlelen) with value of strlen(title)

Moderator Notice

BTW I moved 4 of your threads out of the Plugin subforum into Library Management.

As Wilde might have put it "“To mispost one thread may be regarded as a misfortune; but to mispost four threads looks like carelessness.”

Why does it matter - because someone looking for threads relating to lets say 'moving books', wouldn't expect to find them in the Plugins subforum.

BR

Last edited by BetterRed; 01-04-2016 at 03:19 PM.
BetterRed is offline   Reply With Quote