xxxxxxxxxx
std::string s = "hell[o";
if (s.find('[') != std::string::npos)
; // found
else
; //
xxxxxxxxxx
std::string s = "Hello";
if (s.find('e') != std::string::npos)
cout << "Found";
else
cout << "Not Found";
xxxxxxxxxx
int main (){
string test = "SEPERATE";
string check(test);
(if stringcheck==true) cout << "correct spelling!";
}