Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Build multiline QString from single line QString

$
0
0
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

Viewing all articles
Browse latest Browse all 13965

Trending Articles