Hacker News new | ask | show | jobs
by ahartmetz 2447 days ago
QString::trimmed() ;)

std::string is laughably underpowered in comparison - it's basically a vector of bytes, missing a huge amount of convenience methods and all Unicode support.