Helper function to return a token at a specific offset.