Well then, it seems we're both right, because using :.1 from the example (this is my first time using a substring, and first thing I did was test out the OP's string) works.
Plus this, once I looked it up in response to your prompting:
http://manual.calibre-ebook.com/temp...ced-formatting
Quote:
If you want only the first two letters of the data, use:
{author_sort:.2} - Only the first two letter of the author sort name
The calibre template language comes from python and for more details on the syntax of these advanced formatting operations, look at the Python documentation.
|