Thread: Loop over list
View Single Post
Old 04-10-2015, 06:37 AM   #1
ivanm
e^bored
ivanm began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Jun 2010
Device: Kobo Aura HD, BeBook Neo
Loop over list

Calibre already has the list_re function to be able to apply a regex to every element of a list, but is there any way of applying other functions to list elements?

(Specifically I want to be able to apply shorten to every element of a list; I want to be able to achieve something like the sample program listing in the Calibre template language reference but my series column is often a `.' separated list of nested series.)
ivanm is offline   Reply With Quote