Cut mint like you are mowing grass. Just snip the whole top off. I go out and cut them all down to a couple inches regularly or else they start flopping anyway. Basil is about the same, but it grows slower than mint, at least in my experience, so I leave more than a couple inches with basil. More like 4 or 5 inches. They also grow thicker stems and can support taller plants.