TypeScript文字列slice
includes

slice文字列

split

開始〜終了インデックスの部分文字列を返します。

構文

str.slice(start, end?): string