Take from to QString
-
Hi, I'm wondering if you can take text from to from a QString.
So, if I have "Hello, this is a text", and I wan to take the from character 8 (from t his) to character 16 (a).
EDIT: So I'm gonna get "this is a".
Can I do that?@Sucharek
Please just look at theQString
documentation where you will come across QString::mid(int position, int n = -1) const. Look through all the methods there, it's quicker than asking and there are many useful ones. That is where (most) methods having anything to do with manipulating aQString
will be documented. -
@Sucharek
Please just look at theQString
documentation where you will come across QString::mid(int position, int n = -1) const. Look through all the methods there, it's quicker than asking and there are many useful ones. That is where (most) methods having anything to do with manipulating aQString
will be documented.