This is my code so far. That's how I would break up the String by "|". Now I would like to know how would I go about storing each part.
public class Address {
private String lines;
public Address(String lines)
{
this.lines = lines;
String[] arrOfStr = this.lines.split("|");
}
This constructor should accept an address in parts separated by "|" The constructor will then need to break the String into parts and then store each part part1|part2|part3