there is no character at the specified index, NaN is returned.

    This was added for compatibility with python
    N)