Hi,
Could you tell me how to read line from txt file until sign ":"? I have file like this:

mathematics: 5
biology: 4.5
IT: 5

and I wanna read it to two others array. In c++ I use:

getline(data, subject[i], ':');

and it's working. I wanna do the same in QT but in subject[i]=in.readLine() I don't know if ther's something alike.