Simple and clear;

substr_replace($string ,"",-1);