so i have to read through a file and store a specific key and value from the line using queue's (myqueue.push())
what i'm having trouble with is seperating key = value . where not every line is in this format, essentially how do i find a word and store it based on the fact that it is seperated by the "=" symbol?
EX:
cats = 5
#random_stuff
apple = 9
i have two queue's each one stores a key and a value. any help is much appreciated.