Skip to content
Advertisement

Tag: ini

How to load environment variables in a config.ini file?

I have a config.ini file which contains some properties but I want to read the environment variables inside the config file. Is this possible or do I have to write a method to take care of that? Answer I know this is late to the party, but someone might find this handy. What you are asking after is value interpolation

Advertisement