Why do I receive a out of bounds error when using substring?
String timestamp= line.substring(1, 10);
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String ind
ex out of range:
How can I avoid this, I need to somehow check the position for null with out the thing blowing up.