static function explodeWithID($pattern, $subject)
{
$tab = explode($pattern, $subject);
if (isset($tab[1]) && !is_numeric($tab[1])) {
// Report $ to tab[0]
if (preg_match('/^(\\$*)(.*)/', $tab[1], $matchs)) {
if (isset($matchs[2]) && is_numeric($matchs[2])) {
$tab[1] = $matchs[2];
$tab[0] .= $matchs[1];
}
}
}
// Manage NULL value
if ($tab[0] == self::NULLVALUE) {
$tab[0] = NULL;
}
return $tab;
}