getString

fun getString(key: String): String?

Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key.

Return

a String, or null

Parameters

key

a String key