View Single Post
Old 09-08-2012, 06:02 PM   #1
miquele
Connoisseur
miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.miquele ought to be getting tired of karma fortunes by now.
 
miquele's Avatar
 
Posts: 79
Karma: 498122
Join Date: May 2010
Location: Europe
Device: Bookeen Cybook Gen3, Kindle 3, Kindle PW, Kindle Voyage
custom column: count number of characters (in book path)

hello,
due to limitations in my Windows XP filesystem, I'd like to have a custom column showing the number of characters of title + author.

the best I managed was a build from other columns, the template is:
{author:strlen()}+{title:strlen()}
.
Thing is the custom column now shows s.th. like '12+15'. It's not bad for starters, but no good either - you can't sort that.

I also tried to work with add({author:strlen()}, {title:strlen()}), also to no avail [it shows 'add(12,15)'].
Any ideas how I can get a real number out of that, to make that sortable?

That would be great.
Cheers, miquele

Last edited by miquele; 09-08-2012 at 06:08 PM.
miquele is offline   Reply With Quote