Qt Centre Forum
>
Qt
>
Newbie
> which function can be used to get each substring in a string?
PDA
View Full Version :
which function can be used to get each substring in a string?
pratik041
1st December 2011, 11:56
If i have a string of Qstring class type. How can i get substring in that?
Lykurg
1st December 2011, 12:11
QString::mid(), QString::left(), QString::right() or you can use QRegExp::indexIn() with QRegExp::capturedTexts() or or or
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.