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 === - 1 first === - 1 last > first ) { return false ; } }