Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21159

Converting a text file into individual strings

$
0
0
Hello Guys,

I have currently written a program which saves multiple groups of text information in a file. However I am having trouble in finding a way to load an individual piece of a record into a string, where the record which which the String is taken from depends on user input.

Here is one of the records from the text file.

Code:

[Manchester]
Date=30/03/2014
Transactions=6000
Customers=12000
Percentage=50

For example: The user enters "Manchester" and The percentage "50" is loaded into a string.

Viewing all articles
Browse latest Browse all 21159

Trending Articles