メモ:stringrのstr_locate_allとstr_subを組み合わせて文字列置換

前回やろうとして分からなかったやつ。 stringr::str_locate_all()というのがあると知ったのでメモ。