One way is too to collect just solute sugar, heat over very low heat to evaporate as much water as possible to give yourself a saturated solution. Then crystallize sugar and filter in the lab you'd wash with a suitable solvent and dry under vacuum To collect just the solvent water distill over moderate heat to collect water.