QString str = "bitrate: 3543 kb/s"; int value; QRegExp re("bitrate:\s*(\d+)\s*.*"); if (re.indexIn(str) != -1) { value = re.cap(1).
確定! 回上一頁