Step to reproduce: 1. Run the program. In the "Route Planning System" menu, input 2 to choose "Get facility info". Then in the "Get facility info" menu, input 1 to choose "Search a facility". 2. For "Please enter station name:", input Sha Tin . Note that Sha Tin is a valid Station name and the input ends with an extra space. Expected result: System output "Please choose service type:". Actual result: Invalid Input! I believe that, for a searching function, we should at least be able to accommodate some typo in the input that will not affect its meaning. An ending space is one of them. Please add a function to filter the space and line-changer in the input.
Your requirement is sound. Bug fixed.