replaceVariables

fun replaceVariables(template: String, values: Map<String, String>): String

Replaces ${key} and $key in the template string with the corresponding values from the map.