Apparatus for trimming hedges