View Single Post
Old 09-18-2014, 05:11 PM   #565
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by crissman View Post
Quick question, just a quirk of mine, but annoying just the same..

Code:
{#stripped_series:shorten(4,-,4)}{series_index:0>3s| [|] }{title}
(I also have the corresponding columns)

A series that has multiple words like A Song of Ice and Fire gets shortened down to its initials which is perfect, what is bothersome to me is when a series like "The Coincidence" gets stripped into Coincidence which again is okay, but its shortened form it becomes Coin-ence.

What would I need to change in order for it to show instead either "Coincidence" or "The Coincidence" for series that are either a single word or preceded by "The" or "A" etc. yet still retain the "initial" values for a longer series name such as A Song of Ice and Fire (ASoIaF) or Lord of the Rings (LotR)

[EDIT] Kinda figured it out, I changed the value: shorten(4,-,4) to shorten(12,-,6), but now I am wondering what is the allowable amount of characters on a title field on a Kindle PW1 and a Kobo Aura HD?

Thanks yet again in advance for any help with this.
It sounds like you just want {#stripped_series} without using shorten at all.
eschwartz is offline   Reply With Quote