Buy me a coffee
TypeScript
›
文字列
›
split
←
slice
split
文字列
template literal
→
区切り文字で分割した配列を返します。
構文
str.split(separator, limit?): string[]