Java substring: ‘string index out of range’ April 6, 2022 by IT Nursery Java substring: ‘string index out of range’