StringIndexOutOfBoundsException String index out of range: 0 by IT Nursery StringIndexOutOfBoundsException String index out of range: 0