我有一个地址列表,并在更新:(表单提交)
name_array = split(request("name"),",")
address_array = split(request("address"),",")
address_2_array = split(request("address_2"),",")
city_array = split(request("city"),",")
prov_array = split(request("prov"),",")
zip_array = split(request("zip"),",")
以上工作完美,直到某人提交地址(在地址字段或地址字段中),如下所示: 107 Queens Quay W.,Suite 254
我试过"替换"但没有运气。
任何想法?