PDA

View Full Version : Remove First X and last X chharacters from a Qstring.?



hakermania
21st January 2011, 19:11
How can I do this :) ?:confused:
I've searched a lot about .remove and .replace but I found nothing satisfying!

majorwoody
21st January 2011, 19:24
See documentation of the functions right, left and chop. There you'll find examples.

Lykurg
21st January 2011, 19:26
QString::mid() is exactly what you need.

hakermania
21st January 2011, 19:40
Thank you :) found it!