If that's all you're doing with the explode, you may simply try:
echo(str_replace('e', '', $var));
Or, if you are on PHP4/3 and want to use NogDog's method (http://us2.php.net/manual/en/function.str-split.php#70797):
$val = array_slice(split("-l-", chunk_split($val, 1, '-l-')), 0, -1);