View Single Post
Old 06-11-2015, 12:00 PM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by eschwartz View Post
chaley, I understood the OP to be asking about first author's lastname.
Anyway, I would've used an author_sort sublist split on the "," -- it is more readable than a regex.
No need for TPM.
I used "re" because it has much higher performance than sublist, something that would matter if a similar template was used in a composite column. I also think that functions in single function mode are hard to read because of the lack of spacing. But of course, YMMV.
chaley is offline   Reply With Quote