Help needed for string index out of bounds exception

Printable View