The shift table of a pattern of length gives, for each letter , the distance from the last place of in , the final place excluded, to the final place: , where is that last place. A letter absent from the first places of gets the shift .
STATION (). The last T before the final place is at , three places from the end: shift . N, which appears only in the final place (shaded), and every letter absent from the pattern get .