A novel multifunctional β-cyclodextrin polymer as a promising sorbent for rapid removal of methylene blue from aqueous solutions.