Hi,

I have been asked at work to amend a piece of code for a particular system such that it will search through a .dat file for certain strings and return the relevant data associated with those strings. At the moment data is read in from 3 text files where variable names are associated values using an '=' sign. The data is read straight from there. These files have now been amalgamted into a .dat file with new variable names and there are a number of variables with data associated with them in a list. Can anyone help?

I have done some coding in the past but not in a while and feel a little out of my depth at the moment. Unfortunately due to the sensitive nature of the work I am doing I cannot disclose any information about what I am coding.

Many thanks,

Pete

Member Avatar for iamthwee

Sounds like simple string parsing...read a tutorial

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.