Allow negative string offsets.

Negative offsets return characters starting from the end of the string.