If you always use form "string - string" You can read text line by line like this:
Qt Code:
{ while(!myFile.atEnd()) { //now array[0] is everything before " - " and array[1] is everything after it } }To copy to clipboard, switch view to plain text mode
Bookmarks