diff --git a/Elwig/App.xaml.cs b/Elwig/App.xaml.cs index bb4e713..f20aebc 100644 --- a/Elwig/App.xaml.cs +++ b/Elwig/App.xaml.cs @@ -127,7 +127,7 @@ namespace Elwig { ZwstId = entry.Item1; BranchName = entry.Item2; BranchPlz = entry.Item3; - BranchLocation = entry.Item4; + BranchLocation = entry.Item4?.Split(" im ")[0]; // FIXME BranchAddress = entry.Item5; BranchPhoneNr = entry.Item6; BranchFaxNr = entry.Item7; @@ -138,7 +138,7 @@ namespace Elwig { ZwstId = entry.Item1; BranchName = entry.Item2; BranchPlz = entry.Item3; - BranchLocation = entry.Item4; + BranchLocation = entry.Item4?.Split(" im ")[0]; // FIXME BranchAddress = entry.Item5; BranchPhoneNr = entry.Item6; BranchFaxNr = entry.Item7;