return false if x or y are not present in the input string OR last occurrence of x is after the first occurrence of y in the input string
if ( last == string :: npos first == string :: npos last > first ) return false ; }