View Single Post
Old 02-23-2014, 12:58 AM   #324
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by embryo View Post
It works perfectly, thank you.
Good to hear.
Quote:
And since we are at this, do you have any idea about a way to convert the values of this column (or any column) to tags?
Not a way to send them to a Kobo device, but in the tag column inside Calibre.
I did a search and didn't came up with anything useful...

TIA
Looks like you can do it with:

Code:
list_re(src_list, separator, search_re, opt_replace)
I can only get it working in program mode. I think the following does what you want using the word count as the input.
Code:
program:
list_re(field('#words'), ',', '.*', '')
It gives results that look like "43, 102". Then I can use "list_item" to retrieve a single item from that list.
davidfor is offline