Hi, I am currently trying to get my head around a problem i am trying to solve. I have a text file that contains the following data..
This is for a window installation business. The text file contains data for a quote. A location, followed by the window measurements (width, height). What I am trying to do is sort this information to display the following desired results
I have been trying to visualize the required data structure to achieve this. I have attempted using pattern matching switches to identify if a line is a word then pushing into array. If someone could please point me in the right direction. So far every solution I have tried has failed.