I have a Java program reading from a text file, and I'm trying to set a variable to the String between two strings - between "text" : " and " , "date . I keep getting the error 'String index out of range: -3', and I can't seem to find any other solutions which I can apply to my code.I have a Java program reading from a text file,