I have the QString line like this "567\n1.23456 2.34567\n1.23456 2.34"
And I want only "whole" float numbers only between \n characters.
I need QStringList after split()
that contains only this float numbers. QString::split()
can use RegEx so maybe I can use som regex here.
i tried QStringList myList = QString("56\n1.12345 2.34567\n1.23456 2.34").split('\n')
that returns me ["1.2345 2.34567"] so i need split this again to ["1.23456"] and ["2.34567"]