Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

qstring mid

//QString::mid(int startIndex, int howManyChar)
QString x = "Nine pineapples";
QString y = x.mid(5, 4);            // y == "pine"
QString z = x.mid(5);               // z == "pineapples"
Source by doc.qt.io #
 
PREVIOUS NEXT
Tagged: #qstring #mid
ADD COMMENT
Topic
Name
5+9 =