I'm sorry for flaming std::string and std::wstring. They are quite limited and far from being thread safe. Performance wise, they are not that good too. I miss simple features:
- Splitting a string into array/vector/list
- Simple & intuitive case-insensitive find & replace
- Support for i18n without worrying about string or wstring
- Conversion to and from int, float, double
- Conversion to and from UTF-8, UTF-16 & other encodings
- Thread-safe/reentrant
- Small footprint & no dependencies
- Highly portable & cross-platform
I've found Qt QString to be useful and also found CBString http://bstring.sourceforge.net/bstrFAQ.shtml
Any other suggestions & comparisons? Thank you.