https://wikimass.com/cpp/string-functions