Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Split string with space but ignore when in quotes
Maaz Momin last edited by Maaz Momin
I am facing a problem when splitting a string.
Input: /number:123 /alphabets:"Good Morning \"Sam\"" /alphanumeric:" 'A' @ 123 \"abc\"" new open
2- /alphabets:Good Morning \"Sam\"
3-/alphanumeric: 'A' @ 123 \"abc\"
Can somebody please help me here?
Just a matter of regexp black magic
Maaz Momin last edited by
@J-Hilk Thanks for pointing that out. I was able to resolve my issue. Best Regards.