I need to check whether my CString
object in MFC
ends with a specific string.
I know that boost::algorithm
has many functions meant for string manipulation and that in the header boost/algorithm/string/predicate.hpp
could it be used for that purpose.
I usually use this library with std::string
. Do you know a convenient way to use this library also with CString
?
I know that the library is generic that can be used also with other string libraries used as template arguments, but it is not clear (and whether is possible) to apply this feature to CString
.
Can you help me with that in case it is possible?