I want to smash a QString. There are several words in QString separated by one or more (!) The following characters:
I want to extract only words. Basically, I am trying to replicate the behavior of the Python function str.split ().
I know that you can use a regular expression for this, but what does it look like? Any other simple ways to achieve this are also welcome.
source
share