Skip to main content
Solved

Changing some specific letters in Attributes

  • June 10, 2021
  • 1 reply
  • 42 views

Hey, this is my first time I´m asking something because I always found solutions throughout the FME-Community. This time I couldn´t find a post, where somebody had the same problem as I have right now.

 

I have a shapefile including points with names. These names are just written in small caps. For example I have one point named "vierge du ballon" and I want to rename it to "Vierge du Ballon". Is this possible? I have 211 points where I need to change specific parts of the name (see the screenshot below!). I know there is a StringCaseChanger, but this one only changes Fullt Title Case...

 

Just for understanding, there are some more examples (see screen):

1) I have "vierge d'alsace" and want to change it to "Vierge d'Alsace

2) I have "tombe de l'ermite" and want to change it to "Tombe de L'ermite"

 

Would be so great if somebody know how to change it! :)

Best answer by ebygomm

What are your rules for not changing? Without knowing the rules it is hard to advise, but if for example du, de and d' would always remain lowercase I would use a StringCaseChanger to change to Full Title Case, and then a StringPairReplace to change Du back to du, De back to de etc.

 

Capture

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • Best Answer
  • June 10, 2021

What are your rules for not changing? Without knowing the rules it is hard to advise, but if for example du, de and d' would always remain lowercase I would use a StringCaseChanger to change to Full Title Case, and then a StringPairReplace to change Du back to du, De back to de etc.

 

Capture