string index out of bounds exeption when attempting to read a string char by char

Printable View