📅  最后修改于: 2022-03-11 14:44:45.035000             🧑  作者: Mango
//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"