[josm-dev] MapCSS: Substitute characters in a text

Martin Vonwald imagic.osm at gmail.com
Sat Apr 6 09:01:34 UTC 2013


Hi!

Within a MapCSS style I have to replace some characters in an arbitrary
text by others. Example: "Roma -> Napoli" should be changed to "Roma
-> Napoli".

The text comes from a tag so I don't have any knowledge of its content in
advance, but I have to get rid of some characters. Any ideas how to do that?

best regards,
Martin


More information about the josm-dev mailing list