split メソッド
🟢 Python
投稿日: 2026年4月11日13:08
tel="03-1234-5678"
tel_list = tel.split("-")
['03','1234','5678']となる
VBAはSplit関数
tel_list=Split(tel, "-")
tel_list=Split(tel, "-")
No Comment
tel="03-1234-5678"
tel_list = tel.split("-")
['03','1234','5678']となる