Thread: Concatenation
View Single Post
  #1 (permalink)  
Old 03-04-2008, 02:45 PM
nogono nogono is offline
Novice
Join Date: Jul 2007
Posts: 35
iTrader: (0)
nogono is on a distinguished road
Concatenation

File1:

PID Name City

10 Larry LA
11 Man NY
15 Lan SF

File 2:

PID No ZIP

15 7271 90032
10 8281 9547
22 9213 4321

Question:
I want to concatenate the data of these two files.Like if File1 has PID same as File 2 PID the data should be concatenated like this....
egCondition having same PID should be concatenated)
O/P(Should be like this)

PID Name City No ZIP

10 Larry LA 8281 9547
15 Lan SF 7271 90032

How should be the java code for this?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote