Lucee Function Reference

getpropertystring()

Gets the value of a property entry from a properties file.

Example

getpropertystring(string filePath,string key,[string encoding]):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
filePath string  Yes   Path of the properties file  
key string  Yes   Name of the key to return  
encoding string  No UTF-8 Encoding for the properties file