Mine had split in the middle. One of the easiest jobs I've ever done on a car - thanks to a friend who has a 2 post lift.
Loosen in the cab at the handbrake lever, lift up and take the cables out from the T bar. Undo the clips on the fuel tank and then wiggle the cable to get it out the final hole.
New ones installed with a good amount of grease packed into the rubber ends. Cost about £25 for the pair from my favourite motor factors.
While it was up there, I also replaced the rear discs and pads, and the front drop links. No knocks now either!