please can anybody explain me what this function do?i am confused
bool isOnlyLeftHand(string w) {
return (w.find_first_not_of("qwertasdfgzxcvb") == string::npos);
}//end isOnlyLeftHand
Returns true if the string can be entered with the left-hand only (on the keyboard) :)