![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
space after comma in template
Hi.
How do I make a space after the comma when I use this template: Code:
{publisher}/{#archive_fandom:list_sort(0,\\,)}/{#story_id}/{#story_id} I need it to be: Castle, House MD The #archive_fandom is a normal tag column. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
did you try a backslash <space> or a \s ?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Where do I put it?
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Where you want it. You are formatting a Template. Literals are allowed
I just mention the escaped versions. Sometime you want to use a character that has special meanings, thus you need to escape it \\ is a common one for \ (your use does need to be valid for the OS) |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
@theducks I think you are missing what the OP is after. They're trying to create a field that contains the sorted elements of the field archive_fandom separated by a ", " rather than just a ",".
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Authors shelves hates comma | catimini | Kobo Reader | 29 | 06-02-2021 06:52 PM |
Using built-in template functions in a custom template function | ilovejedd | Library Management | 4 | 01-28-2018 12:20 PM |
Regexp for author name: No switching and no comma, how? | crdf | Library Management | 8 | 08-06-2013 05:45 PM |
_ before but now a comma | pghaworth | Calibre | 7 | 05-09-2013 09:22 PM |
Using a comma in the Tags field | Agama | Calibre | 1 | 11-22-2010 06:10 PM |