[mkgmap-dev] using part action with :
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Sun Jan 2 20:22:56 GMT 2022
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 at lists.mkgmap.org.uk > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] using part action with :
- Next message: [mkgmap-dev] Error in MdrCheck?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list