Remove unused materials

How do you remove unused materials from the material editor? I thought this used to be a feature, but I don’t see it anymore.

Dont know if it is possible in Brazil but in rhino there is the command: Purge

Perfect. Thanks