Reading strings from a yml file
I'm setting data to a yml file, then later going to display that data onto my application. The only problem I have is, I don't have a clue on how to read yml files.
I'm going to be setting data as:
Then, I'd like to get the lines number or setting:
Is there any "somewhat" easy way to do this?
Re: Reading strings from a yml file
What have you tried?
Basically: read the file, parse the line, extract the data