Please help
I am working with a file whose lines of data look like the one below. As can be seen, the data is divided into 4 by '|||
', so I will have four arrays( if I divide it). what I want is this:
- I want to check if there are punctuation marks in the first array, if there is one, remember the position in the array.
- Go to the same position in the third array, and read the number in bracket.
- Check if the value at the array index of the number is a punctuation.
My problem is, I could not remember the match, and its position! Can you help here please?
útil por la unión europea , a ||| by the european union , ||| () (0) (1) (3) (2) (4) () ||| (1) (2) (4) (3) (5)