substitute_list

🔗NAME

substitute_list

🔗SYNOPSIS

replace variables in a string with their computed values

🔗USAGE

local ds = require "lib/dtutils.string"
local result = ds.substitute_list(str)
  • str - string - the string containing the variables to be substituted for

🔗DESCRIPTION

substitute_list replaces the variables in the supplied string with values computed in build_substitute_list.

🔗RETURN VALUE

result - string - the input string with values substituted for the variables

🔗SEE ALSO

darktable variables