I FINALLY have the map and points(arrays) working for my app. Quick question: I have a fatal exception with substring(), a “stringIndexOutOfBoundException”
In general, what is that referring to?
An I going past the end of a string using substring()?
Thanks,
Yes, you’re going past the end of your strings bounds generally.
The Java API even tells you so…
You should get used to using the API. It tells you what exceptions a method throws and why.
Try printing the Strings length and value before attempting substring. That’ll help you see the problem.
For example…