QCString str = "Hello World!"; str.resize(5); // str now contains "Hello"
QCString str = "Hello"; str.resize(10); // str now contains "Hello\0\0\0\0\0"
QCString str = "Hello"; str.resize(10, '*'); // str now contains "Hello*****"Package library: Qt library