Hello! I have a text file that I need to read, line by line, and extract the values based on a colon (":") delimiter. The file is structured in the following way:
Category_1 : Value_1
Category_2 : Value_2
Category_3 : Value_3
Category_n : Value_n
I am trying to automate the provisioning process for an application in my company, so I need to be able to extract these values and enter them into a form. If I can simply extract the values themselves, then that will be sufficient. However, I’d prefer to have them assigned to variables named after the category. This would make it more intuitive to work into the rest of my workflow.
Ex: variable : category_1 => value: value_1
Help would be appreciated. Thanks in advance.