I have part of a PHP application which assess a long string input by the user, and extracts a number which always begins 20 characters into the string the user supplies.
$nLast = strpos($userString , '"'); substr($userString, 0, $nLast);