The philosophy for these macros was actually to fix what you get when resolving macros.
I'm not sure I understand this.
Can you give me example use cases for this macro that you've used or you know are used in the field?
The test case example $REMOVE_QUOTES{$TEST} is not one of them, because it didn't work.
What should be the result of this expansion $REMOVE_QUOTES{"bla bla $TEST bla bla"}?
I guess we don't want to replace $TEST in there and then remove the quotes from the expanded string?
We just want to remove the quotes, probably, but is this really useful?
Do you have some test cases? If you have can you post them so I can setup some little unit test project for this?