Delimiting character in QString.readLine()
-
Sorry for my poor English, I do not understand what you want to express. what is QString.readLine() ?
Debao
-
I think that QString does not have a readLine() method.
The QTextStream class does have a readLine() method which returns a QString.
It will read one line from the stream. The end of the line can be any of these:
- The maximum number of characters has been read
- A line break has been encountered
- The end of the stream (file) has been reached
If you want to split a QString with user-defined delimiters, use QString::split() instead ;)