View Single Post
Old 08-15-2012, 01:50 PM   #9
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
Perfect ...

Quote:
Originally Posted by chaley View Post
Use "program:format_number(strlen(field('title')), '{0:d}')"
The column now shows the length of the title name for each of the books. Thanks chaley ... that worked perfectly !

:Aug 18 INSERT: Later in this thread an issue arises regarding the sorting of the new custom column. I should have noted in more detail that in setting up the custom column (by right-clicking on the existing row of column descriptors and selecting "add your own columns", then clicking on the "+" icon (or the "i" icon after the column is set up)), after inputting a name of your choice and choosing the column type "column built from other columns", and inputting the template description that chaley provided
"program:format_number(strlen(field('title')), '{0:d}')"
it is important (as chaley identifies later in this thread) to also select the accompanying option to sort/search column by "number".

Last edited by Rob557; 08-18-2012 at 09:15 PM. Reason: belatedly adding INSERT to provide more detail in advance of the sort issue that comes up later in this thread
Rob557 is offline   Reply With Quote