String index out of range java charat July 8, 2019 16 32 64 128 Java string index Java.lang.indexoutofboundsexception index 0 out of bounds for length 0