[Solved]Working with QStrings
-
Is there any class to work with QString class?
Cause I have to work with strings or I have to use STL class?
-
The "QString class":http://doc.qt.nokia.com/latest/qstring.html have so many functions within it. What else do you want to do with strings?
-
for example: substr(...), strtok(...) and so on...maybe they are there, maybe I've been just blind...
-
You can combine with stl string, if you have qt compiled with stl support. It looks like you are used to stl anyway.
to convert from QString to stl string use toStdString -
If you do not want to mix Qt and stl, you can use QString::mid for substr and QString::split for strtok.