getPropertyAsStringTrim method
Gets a property with key
. Returns the value trimmed.
def
The default value if key
not found.
Implementation
String? getPropertyAsStringTrim(String key, [String? def]) {
var val = getPropertyAsString(key, def);
return val?.trim();
}