2

You need to turn $Context into a string. You also do not need to add the quotation marks, as you are joining strings, so the end result will automatically be a string again. This should do what you want. Clear@Evaluate[ToString[$Context] <> "*"]


Only top voted, non community-wiki answers of a minimum length are eligible