Replaces each key in replaceMap with it's value.
The string to replace on.
The map to use to replace things.
The updated string.
Example
assert( "$val1 $val2 val3".replaceMap( [ "$val1": "test1", "$val2": "test2", "$val3": "test3" ] ) == "test1 test2 val3" );
See Implementation
Replaces each key in replaceMap with it's value.