Exception in thread “main” java.lang.StringIndexOutOfBoundsException: String index out of range: 0 Tags: java