ExpandSubstitutions(string,IList<string>)
Summary
public static string ExpandSubstitutions(string text, IList<string> substitutions)Remarks
Parameters
Name
Description
Returns
Last updated
Was this helpful?
Method in Dialogue
Replaces all substitution markers in a text with the given substitution list.
public static string ExpandSubstitutions(string text, IList<string> substitutions)This method replaces substitution markers - for example, {0}
with the corresponding entry in substitutions . If text contains a substitution marker whose index is not present in substitutions , it is ignored.
string text
The text containing substitution markers.
System.Collections.Generic.IList<string> substitutions
The list of substitutions.
text , with the content from substitutions inserted.
Last updated
Was this helpful?
Was this helpful?
