You're in a good place after reading a whole line. If you're in JDK 1.4 or later, check the JavaDoc for String.split(). That will give you an array of strings, one for each segment of your line. If you're in an earlier JDK, look at StringTokenizer. That will let you fetch one segment at a time.
Be sure to test your code with missing values like: 0409531354||Residential
Hope that helps!
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
subject: Reading a single value from a pipe delimited dat file