I have created a program where a user can input a recipe, and then press a button and this will then be written to a file. On the other side of the interface, the user can select this previously saved recipe and the contents will be read from this Notepad file.
I am now trying to create a code that allows the user to recalculate the quantities but I need a substring. When read from the file, the listbox is filled with something like the following:
150, Flour, Grams
150, Sugar, Grams
Is there any way to do this?
If you need more information then just ask, sorry if it's all a bit mixed up.
Thanks in advance :)