Shift one half of the texture

Is it possible to divide a texture vertically by half and then shift one half up?
And how?
Thanks beforehand!

Something like this?


This is exactly what I’ve done so far. But let’s say the texture with new coordinates (upper texture on your image) is two separate tiles, one black and one white. I need to shift the black tile up by half so it would repeat itself at the middle of the white tile.
I wish I could explain more clearly xD