Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Write the unconnected lookup syntax?

1078


What is resilience time?

1122


Describe the impact of several join conditions and join order in a joiner transformation?

1057


What are the performance considerations when working with aggregator transformation?

1144


Is stop and abort are same in informatica?

993


I have 10 columns in a flat file and 10 rows corresponding to that columns. I want column number 5 and 6 for last five records. In unix as well as informtica.

1626


What is domain and gateway node?

1157


what is the difference between informatica6.1 and infomatica7.1

2265


Parameter and variable differences

2054


What is a mapplet/worklet in informatica?

1183


What is an aggregator transformation?

1096


which one is better performance wise joiner or look up

1082


can u give example for factless fact table

6622


list out all the transformations which use cache?

1175


explain one complex mapping with logic? sales project?

6656