count()、size() 和length() 都返回字串的字元個數,這3 個函式是相同的,但是要注意,字串中如果有漢字,一個漢字算一個字元。 QString str = "abc" int ...
確定! 回上一頁