Common C++ string utitlies