If you can change solubility properties of selected compounds in a mixture, you can use this to separate those compounds from the mixture.
You may have these questions:
Organic Web Chem University of Alberta