# 部分置き換え(slice代入)

# Ruby

s[1..2] = "BC" # "abcdef" => "aBCdef"

[ 📩 ご意見 ]