Test the end of token content at index i matches the content
of s, notice that this is to save the string allocation cost of
using String's built-in endsWidth
Test the end of token content at index i matches the content
of s, notice that this is to save the string allocation cost of
using String's built-in endsWidth