they're always one long piece, and you don't form it before installation - 2 ways to do it, putting the rubber on the glass first can be awkward, best is to put the rubber on the metal then install the glass - cut the rubber to length so the ends fit tight together -
see the series here by our Scotty friend, jockbolter, read the text below the pics
Bill