lets say i've got a .txt file with the following lines in it:

blah|poop|jim|bob
stoop|hugme|hi|foo


(each line is a different set of 4 elements)

How can I get each line, and parse it to save each element in between the "|"s to a variable?


Thanks!!