View Full Version : How to fhind whole word only in QString
sawerset
11th December 2008, 21:54
How search only fore whole word match in QString can be done?
munna
12th December 2008, 05:14
QString str = "Peter Pan";
str.contains("Peter"); //returns true
Hope this helps
jpn
12th December 2008, 05:18
You can use QRegExp to match at word boundaries.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.