5555-a becomes 5555a.
Thanks
5555-a becomes 5555a.
Thanks
I would use the StringReplacer:
Text to Find: -
Replacement Text: <not set>
Takashi
Say for eg I have an input MapInfo table called 5555-a and I want the output to be 5555a.... I added the string replacer and nothing happened. I exposed the fme_basename and this was the attribute I defined along with teh above you sent ?
Are you using the dynamic schema functionality so that the destination (output file) schema is same as the source (input file)?
If so, you have to change the feature type name of destination schema. To do that, you need to make a schema definition table and make the writer refer to the table. It's not so simple, see Dynamic Schema Examples. Alternatively, if the number of attributes is not many, changing the destination schema to static schema (uncheck dynamic parametiess and set the writer properties manually) might be quicker solution. Takashi
I tried it out on a txt-file.
Do the StringReplacer on the exposed fme_basename (wich holds the txtfilename).
To get it to write it i then set the writer Attribute to Fanout on to basename. And fanoutdirectory of choice. Apparently i cannot do this on the wirter transformer, but must do it in te Navigator-pane Parameters>Advanced.
As u can see in insert it writes bla-bla-6.txt to blabla6.txt
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.