I have a source as flat file and having data like
""TCS"MUMBAI" and i want output like TCS MUMBAI,the length
of the data in the rows is variable.how can you fix it?

Answer Posted / ramesh

replacechar(columnname,instr(columnname,'"',1,2),' ')

the instr function finds the position of the char i.e. " in the second occurence and 'replacechar' replaces it with null.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is enterprise data warehousing?

611


How to extract sap data using informatica?

603


How many ways a relational source definition can be updated and what are they?

574


Can you use flat files in Mapplets.

2213


What is the difference between router and filter?

643






How can we update a record in the target table without using update strategy?

649


What is a pre-defined event and user-defined event?

575


how we can load rejected record's at run time?(not through bad files)

1906


Please let me know how to make Data masking in informatica..

1263


tell me 5 session failure in real time how can you solve that in your project?

1627


Hello, Can you please send the admin and advanced mapping design sample questions to ns_sharmin@yahoo.com?

1850


What is a standalone command task?

652


Explain informatica architecture - version 8 / 9

662


waht type of interface is used for testing the data in informatica

1828


While migrating the data from one environment to another environment how would you manage the connections?

623