
2 Jan
2022
2 Jan
'22
8:22 p.m.
Hi Karl I suspect this won't work directly, the ":" you want to look for is being taken as the operator. Maybe you can subst it first name='{name|subst:":=>#"|part:"#:-1"}' Ticker On Sun, 2022-01-02 at 19:58 +0100, 7770 wrote:
Hi.
On page 16 and 17 in the styles manual the part opreration is mentioned. What is the correct syntax to split a string by colon : ?
I tried something like {set name='${name|part:"::-1"}'} to get the last portion after a : . but that was not allowed.
Regards Karl
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev