Hi!
I have a little question about txt-files...This is the case:
I am going to make a small software for editing particular parts in text files, so you don't have to do it by hand.
In this program, i need to find several words in a text file and retrieve the text or number that is after the the "="-sign, and then replace that info.
Then, I want to use the information it retrieves to add some text in the end of the file.
P.S. There are 36 differet words to search for, and some of them will occur in several places, so i want the data from those words that occur several times in an array.
And the data i want to retrieve is AFTER the searchword and a "=", so i dont want the searchword or the equals-sign included.
Can someone explain to me how to do this?
//NoIdeas
I have a little question about txt-files...This is the case:
I am going to make a small software for editing particular parts in text files, so you don't have to do it by hand.
In this program, i need to find several words in a text file and retrieve the text or number that is after the the "="-sign, and then replace that info.
Then, I want to use the information it retrieves to add some text in the end of the file.
P.S. There are 36 differet words to search for, and some of them will occur in several places, so i want the data from those words that occur several times in an array.
And the data i want to retrieve is AFTER the searchword and a "=", so i dont want the searchword or the equals-sign included.
Can someone explain to me how to do this?
//NoIdeas
Last edited: