2
Reply

Making A Config File

Ashot

Ashot

Dec 8 2011 9:59 PM
2.3k
How can I do something like this... 

I have two strings
String a;
String b;

Now I want to have a file called config.txt

In it something like this

A = "text here"
B = "text here"

And whatever is after the = gets set to whatever string... like A = "hi" 
would set String a = "hi";


Can I do this?

Answers (2)
Next Recommended Forum