View Single Post
Old 01-05-2022, 10:13 PM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Rand Brittain View Post
Yes, thank you; this is just what I needed!

What's the correct way to do the second format if what I was currently using was:

Code:
{author_sort}/{#line}/{#subline}/{#edition}
Would it be:

Code:
program:
strcat($author_sort, "/", $#line, "/" $#subline, "/", $#edition, "/", re($title, ":" , " -"), " - ", $authors)
Other than the missing comma before $#subline, that should be correct.

But, I feel like there should be a better way to do that, but, I can't see a "format_as_path" or the equivalent of "os.join()".
davidfor is offline   Reply With Quote