namespace cwebplusApp.Shared.Models { public class ZipCity { public string Zip { get; set; } public string City { get; set; } public string Zip_City { get; set; } public ZipCity() { } public ZipCity(string zipCity) { Zip_City = zipCity; Zip = zipCity.Split(' ')[0]; City = zipCity.Replace(Zip + " ", ""); } } }