# -*- coding: utf-8 -*-
"""
Created on Thu Nov 21 20:02:35 2019

@author: user
"""

msg='123,45,78910,999'

content = msg.split(',')

print(content)

msg='0912-456-789,0911-111-123,0911-123-111'

content = msg.split('-')

print(content)