結果 : check if string has specific character javascript