Is substr in str, Is str appropriate the mask in substr