How to trim white space before and after a string?

I will describe in this post three ways to trim a string of given characters… Using custom function for std::string Using CString Using StrTrim shell API function. Using custom function for std::string Its bit strange that std::string doesn’t provide a Trim function 😕 , but hey since we’ve got head upon our shoulders we’re gonna […]
Continue reading…