varsubst(String in, Map variables) substitute the variables in String 'in', that are in the
form $VARNAME or ${VARNAME} with the equivalent value that is found
in the Map.
substitute the variables in String 'in', that are in the
form $VARNAME or ${VARNAME} with the equivalent value that is found
in the Map. Return the varsubstituted String.
Parameters: in - the input string containing variables to besubstituted (with leading $) Parameters: variables - the Map containing the mapping from variable nameto value.