Hello there!
I am working on this final assignment for my IT class, and I have to provide a Query system to a banking program. I have completed the general Query which reads a .txt file and displays the entire clients list for the bank... The code is here:
clients.txtQuery.txtReadData.txtRecords.txt
I need to also create a Single Query that will require the user to input a particular Bank ID (we decided xxx where 0<xxx<999) into a pop-up textbox. The idea is that the program will:
1) read the input xxx value and parse it (String, maybe?).
2) parse the clients.txt (attached, so you can see the structure and how we tokenized it so it can be displayed as a table) file.
3) match the entered xxx value to the text line containing the xxx account value.
4) output that particular account's line from the clients.txt into a one-row, 7-column table.
I was thinking of maybe using a substring and indexOf but then I got fuzzy...
I need urgent help with this, as this is due in about 12 hours and I have 2 different projects to work on at the moment. I'm exhausted and can't really think straight, else I would have probably figured this out somehow...
Any help will be colossally appreciated!
Cheers,
Dan