Possible Duplicate:
how to check string start in C++
I need to check if wstring begins with a particular string.
const wstring str = "Hello World";
wstring temp="Hello ";
How I can check str
begins with temp
or not?
Possible Duplicate:
how to check string start in C++
I need to check if wstring begins with a particular string.
const wstring str = "Hello World";
wstring temp="Hello ";
How I can check str
begins with temp
or not?