So I have a string like this:
'|item1|item2|item3|item4'
From that string, I want to build an list like this:
['|item1','|item1|item2','|item1|item2|item3','|item1|item2|item3|item4']
It essentially looks for each '|' and returns the previous string from that position.