Re: [mkgmap-dev] using part action with :

2022-01-02 Thread Ticker Berkin
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

[mkgmap-dev] using part action with :

2022-01-02 Thread 7770
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