public override object StringToField(string from) { string[] splited1 = from.Split(mSep1); string[] splited2 = splited1[0].Split(mSep2); AddressField res = new AddressField(); res.Street = splited2[0].Trim(); res.Number = splited2[1].Trim(); res.City = splited1[1].Trim(); return res; }
public override object StringToField(string from) { string[] splited1 = from.Split(mSep1); string[] splited2 = splited1[0].Split(mSep2); AddressField res = new AddressField(); res.Street = splited2[0].Trim(); res.Number = splited2[1].Trim(); res.City = splited1[1].Trim(); return(res); }