An effective and versatile method for tube-length-specific functionalization of carbon nanotubes through a controllable embedment of vertically-aligned carbon nanotubes into polymer matrices is reported, which allows not only asymmetric functionalization of nanotube sidewalls, but also facile introduction of new properties (e.g. magnetic) onto the region-selectively functionalized carbon nanotubes.