I think subst with regular expression (from~>to) should work?

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Pinns 
UK <[email protected]>
Gesendet: Sonntag, 5. April 2020 12:10
An: [email protected]
Betreff: Re: [mkgmap-dev] subst only numbers

Hi Arndt

have a look at the 'part:' option in the style manual

 Evaluate each 'part'

if its >0 then it contains a number

However it wont work for Knoten 123a

Nick

On 05/04/2020 10:34, Arndt Röhrig wrote:
Hi @all,

i want to extract only numbers from a point name.
For example name="Knoten 123" -> name="123".
If there is a numer, i want to set knotenpunkt=ja, if there is no number, i 
want to set knotenpunkt=nein

Is that possible? Thanks for help

Greetz
Arndt



_______________________________________________
mkgmap-dev mailing list
[email protected]<mailto:[email protected]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to