PDA

View Full Version : The easiest way of creating a substring from a QString



Morea
10th February 2006, 13:42
How can I produce a substring from QString if I would like to have the string consist of all the chars from the 3:rd one to the 15:th char? Should I use both left() and right() methods of the QString, or is there another way?

jpn
10th February 2006, 13:45
QString::mid()

Morea
10th February 2006, 13:57
Oh. sorry. :o