在我的c#程序中,我有一個像這樣的字符串。如何從c中的字符串中分離字符串#
String ss = [["Karoline,Ejlstrupvej 90 90, 4100, Ringsted,07:50:00,55.48148, 11.78890","Karoline,Ejlstrupvej 101, 4100, Ringsted,07:50:00,55.47705, 11.78523","Byskovskolen, Prstevej 19, 4100, Ringsted,55.46842, 11.80975"],["Mads,Sdr. Parkvej 27, 4100, Ringsted,08:00:00,55.44648, 11.78757","Niels,Fluebækvej 204, 4100, Ringsted,08:00:00,55.44295, 11.79137","Heldagsskolen Specialtilbud, Vestervej 27, 4100, Ringsted,55.44050, 11.78115"]];
我該如何區分這樣的值。
["Karoline,Ejlstrupvej 90 90, 4100, Ringsted,07:50:00,55.48148, 11.78890","Karoline,Ejlstrupvej 101, 4100, Ringsted,07:50:00,55.47705, 11.78523","Byskovskolen, Prstevej 19, 4100, Ringsted,55.46842, 11.80975"]
["Mads,Sdr. Parkvej 27, 4100, Ringsted,08:00:00,55.44648, 11.78757","Niels,Fluebækvej 204, 4100, Ringsted,08:00:00,55.44295, 11.79137","Heldagsskolen Specialtilbud, Vestervej 27, 4100, Ringsted,55.44050, 11.78115"]
我試圖
ss.Split('],[');
但因爲這隻需單個字符,我不能分割的字符串。
我已經有問題顯示它。我有一個字符串[[「我」],[「你」]]我想分開它作爲[「我」]和[「你」]。 –