I have a string that is returned, that contains data separated by |'s.
I already have my script splitting by a '|', now I just need to count how many pieces of data are stored in the string, easiest way I see it would be to count the number of |'s in the string.
This is basically what's going on so far: http://jsfiddle.net/53ueL/
Greatly appreciate any help in advance!