Is there any way to get a map of java.awt.Points from a String? Or even just a single point on that String. For example for "xyz123\nabc123" coordinate (0, 1) would be 'a'.
Is there any way to get a map of java.awt.Point s from a String?
Share
There is nothing built-in for that.
You can try and parse that string into a 2D char array or a vector of char arrays (depending on if you know how many lines in total or not).
Given “xyz123\nabc123” as
str: