Probably the most common Qt core class you'll run into is Qt's QString container class for character strings. It has similar capabilities to the C++ STL std::wstring class. As with wstring, it's multibyte. You can construct one from a traditional C-style char * string or another QString.
QString has lots of helper methods, some of which are as follows:
- append: This appends one QString class onto another.
- arg: This is used to build up formatted strings (instead of sprintf).
- at and operator[]: These you can use to access a single character in a QString.
- operator==, operator!=, operator<, operator>, operator<=, and operator>=: These compare two QStrings.
- clear: This empties a QString and sets it to the null string.
- contains: This searches one string for another string or a regular expression.
- count: This counts...