【发布时间】:2018-04-15 16:43:36
【问题描述】:
我有这个数据:
"home_name":"Atletico Madrid",
"away_name":"Levante",
"score":"3 - 0",
"ht_score":"1 - 0",
"ft_score":"3 - 0",
"et_score":"",
"time":"FT",
"league_id":"74",
"status":"FINISHED",
"added":"2018-04-15 14:11:01",
"last_changed":"2018-04-15 16:09:02",
"home_id":"26",
"away_id":"28",
我想将 "score":"3 - 0" 拆分为 homescore = 3 和 awayscore = 0
谢谢
【问题讨论】:
-
你走了多远?