分割:主要死分割城市地址 ""北京市/北京市/东城区""
text.split(separator: "/") //(["北京市","北京市","东城区"]
去重:省、市一致的去重
let data = text.split(separator: "/").removeDuplicate() //(["北京市","东城区"])
拼接:
data.joined //"北京市东城区"
text.split(separator: "/") //(["北京市","北京市","东城区"]
let data = text.split(separator: "/").removeDuplicate() //(["北京市","东城区"])
data.joined //"北京市东城区"