src/Peru/Reniec/CaptchaCodes.php
public function getLetter($data, $position)
    {
        foreach ($this->codes as $code) {
            if ($code[$position] == $data) {
                return $code[0];
            }
        }

        return null;
    }
public function getLetter($data, $position)
    {
        foreach ($this->codes as $code) {
            if ($code[$position] == $data) {
                return $code[0];
            }
        }

        return null;
    }
public function getLetter ( $ data , $ position ) { foreach ( $ this -> codes as $ code ) { if ( $ code [ $ position ] == $ data ) { return $ code [ 0 ] ; } } return null ; }
Get letter.

@param $data
@param int $position

@return string|null
Get letter .