If it is a compound, then the the constituent elements can be separated by proper methods.
e.g. component of water (H2 and O2) can be separated by electrolysis.
If it is an element then atom level separation and manipulation is possible by AFM (Atomic force microscopy).