MenaraSolutions\Geographer\Services\Poliglottas\Russian::removeLastLetter PHP Method

removeLastLetter() private method

private removeLastLetter ( $string, integer $count = 1 ) : string
$string
$count integer
return string
    private function removeLastLetter($string, $count = 1)
    {
        return mb_substr($string, 0, mb_strlen($string) - $count);
    }