Returns the value of one key in a Java properties file. Returns an empty string if the key is not defined.
getPropertyString(filepath, key [, encoding])
→ returns string
utf-8path = getTempDirectory() & "app.properties";
fileWrite(path, "a=1#chr(10)#b=hello");
writeOutput(getPropertyString(path, "b"));
Expected Result: hello
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.