ini-parser icon indicating copy to clipboard operation
ini-parser copied to clipboard

Request for default of empty string instead of null value

Open jamalmazrui opened this issue 5 years ago • 2 comments

The Windows API functions for reading ini values allow a default of an empty string to be returned if a key is not found. I appreciate the current default of a null value rather than raising an error, but I would prefer a default of an empty string ("") instead. Is this currently possible without deriving a custom parser class? If not, I hope such a configuration could be added.

jamalmazrui avatar Oct 27 '19 21:10 jamalmazrui

Will try to add a configuration option for next version

rickyah avatar Dec 18 '19 23:12 rickyah

This will be the default behaviour for version 3.0, but will add a configuration option in the upcoming vresion 2.6.0 for this

rickyah avatar Jan 07 '20 22:01 rickyah