Suppose you have a QString just like this
QString inputString = "0.4 0.2 0.1 0.6 0.3 0.7 0.1 0.8";
what I need to do is to create another QString, say “outputString”, as a multiline version of the first one.
outputString should looks like this
0.4 0.2 0.1 0.6
0.3 0.7 0.1 0.8
↧