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.

Note that numerical codes are not necessarily portable across platforms.