# 分割(split). 文字列区切り

# PHP

$arr = explode(',', $delim);

# PowerShell

$arr = $s -split $delim

# Python

arr = s.split(delim)

# Ruby

arr = s.split(delim)

# Swift

var arr = s.components(separatedBy: delim)

# TypeScript

let arr = s.split(delim);

[ 📩 ご意見 ]