Ashot

Ashot

  • NA
  • 9
  • 6.1k

Making A Config File

Dec 8 2011 9:59 PM
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)