samedi 20 janvier 2018

Easiest way to find a string

ALL,

Is there a better way to do:

if( str.find( L"[abc]" ) == std::wstring::npos && str.find( L"abc" ) != std::wstring::npos )

I just feel that this is not optimal/elegant.

TIA!

Aucun commentaire:

Enregistrer un commentaire