I am new to _bstr_t
's and still trying to get the hang of it. I was trying to check whether a particular string x
is contained anywhere within the bstring. Something I would normally do like;
String x = "hello";
String example = "You! hello there";
...
if (example.find(x) != string::npos) {
...
Just for the record the intended platform is windows.