I am trying to read substrings from a string in a loop after a certain character. After the certain character I would read the substring and then if that character appears again then read the substring after that character.
Character to read after ;
So in this case I would first read Apples then Oranges and then Peaches and so on. How could I achieve this?
Thank you in advance for your help!