View Single Post
Old 07-07-2014, 05:06 PM   #519
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,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Accel View Post
What is this TPM?
May be you can help me to write template that make from 'Doyle, Arthur Conan' --> Doyle, A. C. ?
TPM is Template Program Mode.

A template that produces what you want for the example you provided is
Code:
{author_sort:'re($, '([, ]+)(\w)\w*', '\1\2.')'}
I don't know it it will produce the right answer in all cases.
chaley is offline   Reply With Quote