- 論壇徽章:
- 0
|
有下面的字符串
store_locale_name:"CN",store_gl_code:"194",store_gl_desc:"gl_beauty",store_redirect_url:"",store_node_id:"1522674071",store_root_node_id_code:"746776051",store_type:"brand",store_name1:"PROYA 珀萊雅,旗艦店",store_estimated_setup_time:"2016-03-30 11:40:54",store_is_new:false,store_is_paid:false,store_status:"",store_contractId:"",store_is_valid:true,store_pc_enable:true,store_mobile_enable:false,store_is_ags:0,store_priority:0,store_rich_content:"",store_extra_info:"",store_comments:"",store_sm:"",store_logo_url:""
我直接用split (/,/ $mystr) 分解成數(shù)組
但是有個(gè) store_name1:" xx,xx" ,其中包含,
我怎么寫split ,才能不讓引號(hào)中的, 被拆分? |
|