Input (grade 4): Shatner also played the eponymous veteran police sergeant in T. J. Hooker from 1982 to 1986.
Output (grade 3): He also played the role as veteran police sergeant T.J. Hooker, from 1982 to 1986.