Skip to main content
Solved

[FME 2011] String padder doesn't work

  • June 27, 2013
  • 2 replies
  • 36 views

Hi folks,

 

 

I have a simple workbench taking an ArcSDE spatial table as input. In this table, I have a string field I want to fill with 2 digits. This field already has values, but a lot of them are only coded on 1 digits (1,Z,a...).

 

I thought of insert a left pad and replace this pad with a digit of my choice (0 or Z) to make my field homogeneous.

 

 

But the StringPadder doesn't work... :-( At now, I don't have a writer, I'm only working with visualizer to see the potential result, and it's always wrong, I mean values still have the same length.

 

 

Does it make sense ? Any idea ?

 

Thanks a lot,

 

François

Best answer by takashi

Hi Francois,

 

 

I cannot reproduce your situation, the StringPadder of FME 2013 works successfully. If the StringPadder does not work anyway, try the StringFormatter instead. 

 

 

Takashi
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.

2 replies

takashi
Celebrity
  • Best Answer
  • June 27, 2013
Hi Francois,

 

 

I cannot reproduce your situation, the StringPadder of FME 2013 works successfully. If the StringPadder does not work anyway, try the StringFormatter instead. 

 

 

Takashi

  • Author
  • June 27, 2013
Hi Takashi,

 

 

Thanks a lot for the trick. It worked !

 

 

Cheers,

 

françois