String index out of range: -1 Error.

Printable View