string.byte (s [, i [, j]])
Returns the internal numerical codes of the characters s[i], s[i+1], ..., s[j]. The default value for i is 1; the default value for j is i.
s[i]
s[i+1]
s[j]
i
j
Note that numerical codes are not necessarily portable across platforms.