like(str, pattern) - Checks if str matches pattern