Position is the offset of the current character in the input string.