Hi!

I have the following:
Qt Code:
  1. //list == ["SPNT", "123", "321", "SPNT", "111", "122", "222", "211", "SPNT", "001", "SPNT"]
To copy to clipboard, switch view to plain text mode 
I wanted to know the position of each SPNT. I used list.indexOf ( "SPNT") but only returns the first position. How do I know the position of the string SPNT in QStringList?
My idea is to print a file in the numbers between the SPNT this way:
123 321
111 122 222 211
001