resolvePercentMacro
Resolve a percent macro to its value
Return
{String} the resolved value, which might be an empty string, or NULL
Parameters
{String} macro - the macro, including leading and trailing %% markers
Resolve a percent macro to its value
{String} the resolved value, which might be an empty string, or NULL
{String} macro - the macro, including leading and trailing %% markers