It depends on the core construction. Round core strings will unravel if you cut them before putting a steep bend in them. Hex cores will usually stay ok as the edges of the hex shape gives the wrap something to grip on.
But even then hex can come apart too. It's always better to take the same approach to both, just in case.
So when you have decided on the right length do the tight right-angle bend for the bit that goes into the centre post hole before you cut it.
Some strings - like DR and Newtone come with instructions for this, but really it's the best way to do them for every brand.