Gets a property with key. Returns the value as String.
key
def The default value if key not found.
def
String? getPropertyAsString(String key, [String? def]) => getPropertyAs(key, parseString, def);