← Back to team overview

zim-wiki team mailing list archive

Re: Is there any way to cancatenate strings in template?


Afraid there is no "join" method at this moment. Can you show the example
what you try to do? Maybe we can come up with a work around to achieve the
same result?

-- Jaap

On Thu, Mar 23, 2017 at 4:56 PM Eugene Just <gekazoid@xxxxxxxxx> wrote:

> Hello guys.
> I'am trying to edit "Default" wiki page template to fit it to my purposes.
> I've read all about templates in the manual but didn't find how to
> concatenate strings, is it possible?
> I've tried standart python ways, like:
> string3 = string1 + string2
> and
> ' '.join(wordslist)
> Nothing works.
> split method works and join doesn't work.
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp