View Single Post
Old 12-13-2024, 05:05 AM   #8
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,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
You can invert the author list for selected books using global search & replace, regexp mode, with the search field "{template}".

Click image for larger version

Name:	Clipboard01.jpg
Views:	173
Size:	160.9 KB
ID:	212473

The template is
Code:
program:
	result = '';
	for aut in $authors separator ' & ':
		result = list_join(' & ', aut, ' & ', result, ' & ')
	rof;
	result
chaley is offline   Reply With Quote