ExpandSubstitutions(string,IList<string>)
Method in Dialogue
Summary
Replaces all substitution markers in a text with the given substitution list.
Remarks
This method replaces substitution markers - for example, {0}
with the corresponding entry in
substitutions
. Iftext
contains a substitution marker whose index is not present insubstitutions
, it is ignored.
Parameters
Returns
text
, with the content from substitutions
inserted.