This may be super simple to a lot of you, but I can't seem to find much on it. I have an idea for it, but I feel like I'm doing way more than I should. I'm trying to read data from file in the format (x1, x2) (y1, y2). My goal is to code a distance calculation using the values x1, x2, y1 and y2.
Question: How do I extract the integers from this string?