java.lang.StringIndexOutOfBoundsException: String index out of range: 9 ...
1 As the answer in the post I linked says: "it is thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.e.g using List.". So your index that you're using is out of bounds of the size of the string. – Henry Twist Apr 9, 2021 at 1:00 How can it go out of bounds?