two ways you could do this.
first you could explode the string based on the = sign.
$bits=explode("=", $string);
$bits[0] would have 'position x' in it and $bits[1] would have '70' in it.
Or you could parse the string.
$string="x=70";
parse_str($string);
echo $x;
Mark.