Yes, that is a way to do it.
Alternatively, you can hover your mouse over any of the four corners, until your cursor changes into ‘a plus sign without the center’.
Then hold the left mouse button and drag up/down (for a horizontal split) or left/right (for a vertical split).
Might be a bit finicky at start (can’t remember if it was…), but super fast when you get used to it.