Replace each key in replacement_pairs with its corresponding value in the source_string and return the result.
replacement_pairs |
HashTable of variable -> substitution pairs |
source_string |
String that shall have the replacements applied to. |
null if source_string is null, string with all replacements applied otherwise. |