結果 : check if string has certain character javascript