Splitting QString on spaces and keeping the space in QList – best or 'canonical' way
As in the title, I would like to ask what is the best way to split a QString on spaces and – where relevant – keep the spaces as parts of the resulting QList elements. I’m interested in the most efficient method of doing this, considering modern C++ and Qt >= 6.0 paradigms. For the… Read More Splitting QString on spaces and keeping the space in QList – best or 'canonical' way