skmishra211
New member
- Joined
- Nov 23, 2009
- Messages
- 1
- Programming Experience
- 3-5
Dear All
I have a tab delimitted .txt file, I am reading successfully. Reading first line and split into array. Through the loop I am checking the duplicate column name.
Now I want, if duplicated word found, how can I replace the second one. Suppose my file contains
I want to replce second Cell ID to Cell ID_2.
How can I achieve this. Please help
Regards
Sanjay
I have a tab delimitted .txt file, I am reading successfully. Reading first line and split into array. Through the loop I am checking the duplicate column name.
Now I want, if duplicated word found, how can I replace the second one. Suppose my file contains
VB.NET:
Cell Site Cell ID Cell ID Site Detail
1 A 1 A1 ABC
2 B 2 B2 XYZ
I want to replce second Cell ID to Cell ID_2.
VB.NET:
Cell Site Cell ID Cell ID_2 Site Detail
1 A 1 A1 ABC
2 B 2 B2 XYZ
How can I achieve this. Please help
Regards
Sanjay