Oui.String_with_varsSourceval pp_subst_result :
Ppx_deriving_runtime.Format.formatter ->
subst_result ->
Ppx_deriving_runtime.unitReturn the input strings with known variables substituted by the provided values and the list of unknown variables that were found in the input. E.g. subst ~install_path:"XX" "<install_path>/lib/<unknown>" will return {subst_string = "XX/lib/<unknown>"; unknown_vars = ["<unknown>"]}.