Functions to get size or length

X.size(), X.length(), strlen(), sizeof()...
The functions above return unsigned values, so don't directly use them to minus another value, we may get unexpected result.
For example, the expression (5 < X.size() - 1) will be TRUE if X.size() equals 0.