getString

fun getString(key: String, default: String = ""): String

Returns string value from ConfigValue by key. For order of flags see getValue.

Return

String by key if present or default value from param or string default ("").

Parameters

key

Config key.

default

Default value to return.