Skip to main content
Open

Bring back StringPairReplacer

Related products:FME FormTransformers
  • February 28, 2026
  • 2 replies
  • 98 views

takashi
Celebrity

StringPairReplacer has been deprecated at FME 2025.2.

However, there are use cases where StringPairReplacer would be farther convenient than StringReplacer.

For instance, sometimes we have to replace multi-byte alpha-numeric characters with single-byte ones. In StringPairReplacer, it's easy to set replacement pairs, as in:

A A B B C C D D E E F F G G H H I I J J K K L L M M N N O O P P Q Q R R S S T T U U V V W W X X Y Y Z Z a a b b c c d d e e f f g g h h i i j j k k l l m m n n o o p p q q r r s s t t u u v v w w x x y y z z 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9

How can you perform the same replacement with StringReplacer? Not impossible but you will have to define 62 replace strings rows. Too tedious!

I strongly hope StringPairReplacer will be back!

 

[Addition] Alternatively, it would be great if StringReplacer would have "Replace String Pair" mode, in order to perform the pair replacement with this setting.

Text to Replace: 0 1 2 3 4 5 6 7 8 9 こんにちは! さようなら。
Replacement Text: 0 1 2 3 4 5 6 7 8 9 Hello! "Good Bye."

 

2 replies

andreaatsafe
Safer
Forum|alt.badge.img+15
NewOpen

lenabagh
Contributor
Forum|alt.badge.img+3
  • Contributor
  • April 16, 2026

I wish I was able to up-vote more than once. ​@takashi I have a case very similar to yours, where it would take 33 StringReplacer pairs added and maintained between several workspaces (It used to be a StringPairReplacer with a text user parameter shared between workspaces). 

If StringPairReplacer can not be un-deprecated, adding a mode that allows defining text to replace and replacement text as a single textstring as it used to be in StringPairReplacer or as two textstrings as Takashi suggested would be very much appreciated.

Generally speaking, StringReplacer with the new table parameter looks sleek and visually appealing, however my main concerns are:

  • will all my workspaces with StringPairReplacers eventually stop working?
  • will I be able to set up text replacement using an attribute?