Skip to main content
Solved

Hey community, i am trying to do some exceldata conversion in FME that my coworkers used to do manually. Now i am at a point that they used a excel macro to add periods to initials ( AB => A.B.). ofc the length of initials differs.


Forum|alt.badge.img+1

in the original some initial alread had periods, but i already removed them with a stringreplacer.

 

Any leads on how to tackle this are welcome.

 

Luuk

 

Best answer by ebygomm

One possible way

 

Stringsearcher to get a list of characters, followed by a stringconcatenator to concatenate the list back to a string with periods

 

image

View original
Did this help you find an answer to your question?

3 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • February 14, 2022

One possible way

 

Stringsearcher to get a list of characters, followed by a stringconcatenator to concatenate the list back to a string with periods

 

image


Forum|alt.badge.img+1
  • Author
  • February 14, 2022
ebygomm wrote:

One possible way

 

Stringsearcher to get a list of characters, followed by a stringconcatenator to concatenate the list back to a string with periods

 

image

Thanks this helped a lot.

 

I might have missed something on your answer because i seemed to lack a point at the end. But i fixed that with another stringreplacer adding a period.

 

 

afbeelding 


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • February 14, 2022
luukvis wrote:

Thanks this helped a lot.

 

I might have missed something on your answer because i seemed to lack a point at the end. But i fixed that with another stringreplacer adding a period.

 

 

afbeelding 

I'd missed that you wanted the period at the end as well. In which case you could do it all within a stringreplacerimage 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings