For a program I am writing, I need to read a value from a file. When I do that, I get a value in the form (x, y). I need to make a script that splits those, so $x is the x value and $y is the y value.
Then, I need to do a check. For example, check if $x is in between $x-max and $x-min, with $x-max and $x-min being integers.
To split the string into two numbers: