I have like a month with this problem. I want to check in my file all the words.
EXAMPLE FILE:_word [0] word1 [1] word1 [2] word2 [3] _word [4]
That will be the positions, but i want that if i see the word:_word in the position 0, put that position 0 to the word in the position 4 that is the same ("_word") duplicate.
I have try a lot with this problem.
I want to do something like this:
EXAMPLE :_word [0] word1 [1] word1 [1] word2 [2] _word [0]
The [number] are the positions.