Slice JavaScriptは文字列のSlice、Substring、Substr関数を切り取って詳しく調べて比較します。JavaScript文字列を切り取りSliceSubstringSubstr